Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-59669 Overview
CVE-2026-59669 is a stored Cross-Site Scripting (XSS) vulnerability affecting the Repasat application. The flaw resides in the name parameter processed by the /es/attachmenttypes/update/203336 endpoint. An authenticated attacker can inject arbitrary JavaScript that executes in the browser of any user who views the affected content. The Spanish National Cybersecurity Institute (INCIBE) published the advisory covering this issue, which is classified under CWE-79: Improper Neutralization of Input During Web Page Generation.
Critical Impact
Successful exploitation allows attackers to execute arbitrary code in the victim's browser, enabling session hijacking, credential theft, and unauthorized actions performed in the victim's authenticated context.
Affected Products
- Repasat application (version not specified in the advisory)
- Deployments exposing the /es/attachmenttypes/update/{id} endpoint
- Web browsers rendering unsanitized attachment type names
Discovery Timeline
- 2026-10-02 - CVE-2026-59669 published to the National Vulnerability Database
- 2026-10-02 - Last updated in NVD database
Technical Details for CVE-2026-59669
Vulnerability Analysis
The vulnerability allows an attacker with authenticated access to inject malicious script content through the name parameter when updating attachment types. The Repasat application fails to properly neutralize user-supplied input before rendering it in subsequent HTTP responses. When another user accesses the affected view, the stored payload executes in their browser session.
The attack requires user interaction and low-privileged authentication, but the stored nature of the payload extends the exploitation window. Attackers can target administrators or privileged users whose sessions provide broader application access. The EPSS exploit probability stands at 0.315%.
Root Cause
The root cause is improper input validation and output encoding in the attachment types update workflow. The application accepts arbitrary HTML and JavaScript content in the name field without applying context-aware encoding before writing the value back to the Document Object Model (DOM). This pattern aligns with CWE-79, where untrusted input flows directly into HTML output without neutralization.
Attack Vector
An authenticated attacker submits a crafted HTTP POST or PUT request to /es/attachmenttypes/update/203336 containing a JavaScript payload within the name parameter. The server stores the payload. When a victim loads a page that renders the attachment type name, the injected script runs with the privileges of the victim's session. Review the INCIBE Security Notice on Repasat for additional technical context.
Detection Methods for CVE-2026-59669
Indicators of Compromise
- HTTP requests to /es/attachmenttypes/update/ endpoints containing <script>, onerror=, onload=, or javascript: substrings in the name parameter.
- Stored attachment type records containing HTML tags, event handlers, or encoded script fragments.
- Unusual outbound requests from user browsers to attacker-controlled domains following access to attachment type views.
Detection Strategies
- Deploy web application firewall (WAF) rules that inspect the name parameter on attachment update endpoints for script tags and HTML event handlers.
- Audit the attachment types database table for values containing angle brackets or JavaScript syntax.
- Correlate authentication logs with POST requests to update endpoints to identify low-privileged accounts attempting content injection.
Monitoring Recommendations
- Enable verbose HTTP request logging on all Repasat update endpoints and forward logs to a centralized analytics platform.
- Monitor Content Security Policy (CSP) violation reports for inline script execution originating from Repasat views.
- Alert on anomalous session activity such as rapid data exfiltration or privilege changes following access to attachment type pages.
How to Mitigate CVE-2026-59669
Immediate Actions Required
- Review the INCIBE advisory and contact the Repasat vendor to confirm patch availability.
- Restrict access to the /es/attachmenttypes/update/ endpoints to trusted administrative accounts only.
- Audit existing attachment type records and sanitize or remove entries containing HTML or JavaScript content.
Patch Information
No specific patched version is listed in the NVD entry at publication. Consult the INCIBE Security Notice on Repasat and the application vendor for remediation guidance and fixed releases.
Workarounds
- Implement a strict Content Security Policy that blocks inline script execution and restricts script sources to trusted origins.
- Enforce server-side input validation that rejects HTML characters in attachment type names, and apply context-aware output encoding when rendering stored values.
- Deploy WAF signatures that block XSS payloads targeting the affected endpoint until an official patch is applied.
# Example nginx WAF-style rule to block script payloads on the affected endpoint
location ~ ^/es/attachmenttypes/update/ {
if ($request_method = POST) {
if ($request_body ~* "(<script|onerror=|onload=|javascript:)") {
return 403;
}
}
proxy_pass http://repasat_backend;
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

