Skip to main content
Vulnerability Database/CVE-2026-59664

CVE-2026-59664: Repasat Application XSS Vulnerability

CVE-2026-59664 is a cross-site scripting flaw in Repasat application that allows attackers to execute arbitrary code in victim browsers. This post covers the technical details, affected endpoint, and mitigation steps.

Published:

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-59664 Overview

CVE-2026-59664 is a stored Cross-Site Scripting (XSS) vulnerability [CWE-79] affecting the Repasat web application. The flaw resides in the nomServicioPrestado parameter handled by the /es/providedservices/store endpoint. An authenticated attacker can inject arbitrary JavaScript that executes in the browser of any user who later views the affected service record. INCIBE published a security notice describing multiple vulnerabilities in the Repasat application, including this one.

Critical Impact

Successful exploitation lets an attacker execute arbitrary script in a victim's browser, enabling session theft, UI manipulation, and actions performed under the victim's identity within the Repasat application.

Affected Products

  • Repasat application — /es/providedservices/store endpoint
  • nomServicioPrestado request parameter
  • Specific affected version ranges are not listed in the NVD entry; consult the INCIBE Security Notice for details

Discovery Timeline

  • 2026-10-02 - CVE CVE-2026-59664 published to NVD
  • 2026-10-02 - Last updated in NVD database

Technical Details for CVE-2026-59664

Vulnerability Analysis

The vulnerability is a Cross-Site Scripting flaw classified under [CWE-79]. The Repasat application accepts user-controlled input through the nomServicioPrestado parameter at the /es/providedservices/store endpoint. The input is persisted and later rendered in a web page without adequate output encoding or input sanitization. When another authenticated user loads the record, the injected payload executes within the browser under the application's origin.

Because the attacker needs low-privilege authenticated access and the victim must interact with the rendered content, this is a stored XSS requiring user interaction. The impact includes session token theft via document.cookie access, forced actions through authenticated requests, and credential harvesting through injected form overlays.

Root Cause

The root cause is improper neutralization of input during web page generation. The application stores the value supplied in nomServicioPrestado and reflects it back in HTML responses without contextual encoding. HTML, attribute, and JavaScript contexts each require distinct escaping; failing to apply the appropriate encoder for the output context allows script tags or event-handler attributes to execute.

Attack Vector

The attack vector is network-based. An authenticated attacker sends a POST request to /es/providedservices/store containing a malicious payload in the nomServicioPrestado field. Typical payloads include <script> tags, <img> elements with onerror handlers, or <svg> elements carrying event-based script execution. When a victim user — potentially an administrator — views the stored record, the payload runs in their session context.

No verified public exploit code is referenced in the NVD entry. See the INCIBE Security Notice for additional technical context.

Detection Methods for CVE-2026-59664

Indicators of Compromise

  • POST requests to /es/providedservices/store where the nomServicioPrestado value contains HTML tags, <script>, javascript: URIs, or event-handler attributes such as onerror= or onload=.
  • Outbound HTTP requests from user browsers to unexpected domains originating from Repasat pages, indicating data exfiltration through injected scripts.
  • Database rows in Repasat service tables containing encoded or raw HTML markup in the nomServicioPrestado column.

Detection Strategies

  • Deploy a Web Application Firewall rule that inspects nomServicioPrestado for script tags, event handlers, and encoded variants such as %3Cscript%3E.
  • Review stored records for HTML or JavaScript syntax that should not appear in a service-name field.
  • Correlate anomalous authenticated POST requests with subsequent session anomalies, including unexpected cookie access or token reuse from new IP addresses.

Monitoring Recommendations

  • Enable verbose logging on the Repasat application server for all requests to /es/providedservices/* endpoints.
  • Monitor browser Content Security Policy (CSP) violation reports if CSP is configured in report-only or enforcing mode.
  • Alert on administrator account activity that follows access to service records containing suspicious characters.

How to Mitigate CVE-2026-59664

Immediate Actions Required

  • Apply the vendor fix referenced in the INCIBE Security Notice as soon as it is available.
  • Audit the Repasat database for existing malicious payloads stored in nomServicioPrestado and sanitize or remove affected records.
  • Rotate session tokens and force re-authentication for users who viewed potentially tainted service records.

Patch Information

The NVD entry does not list a fixed version. Administrators should consult the INCIBE Security Notice and contact the Repasat vendor directly for patch availability and installation guidance.

Workarounds

  • Restrict access to the /es/providedservices/store endpoint to trusted internal users until a patch is deployed.
  • Deploy a WAF rule to block requests where nomServicioPrestado contains <, >, script, or event-handler patterns.
  • Enforce a strict Content Security Policy that disallows inline scripts and restricts script sources to vetted origins, reducing the impact of injected payloads.
bash
# Example NGINX WAF-style rule to block common XSS payloads in nomServicioPrestado
location /es/providedservices/store {
    if ($request_body ~* "nomServicioPrestado=[^&]*(<script|onerror=|onload=|javascript:)") {
        return 403;
    }
    proxy_pass http://repasat_backend;
}

# Example Content-Security-Policy response header
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'";

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.