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-59660 Overview
CVE-2026-59660 is a Cross-Site Scripting (XSS) vulnerability [CWE-79] in the Repasat application. The flaw affects the nomTransportista parameter exposed through the /es/carriers/update endpoint. An authenticated attacker can inject arbitrary JavaScript that executes in a victim's browser when the carrier update view is rendered. Successful exploitation allows session manipulation, credential theft, or unauthorized actions in the context of the targeted user. The Spanish National Cybersecurity Institute (INCIBE) published a security notice covering this and related issues in Repasat.
Critical Impact
Authenticated attackers can inject JavaScript via the nomTransportista parameter to execute arbitrary code in the victim's browser session.
Affected Products
- Repasat application (vendor-specific versions not enumerated in NVD at time of publication)
- Component: /es/carriers/update endpoint
- Parameter: nomTransportista
Discovery Timeline
- 2026-10-02 - CVE-2026-59660 published to NVD
- 2026-10-05 - Last updated in NVD database
Technical Details for CVE-2026-59660
Vulnerability Analysis
The vulnerability is a stored or reflected Cross-Site Scripting flaw in the carrier update workflow of the Repasat application. The nomTransportista (carrier name) field accepted by the /es/carriers/update endpoint is rendered back to the browser without adequate output encoding or input sanitization. When the field contains HTML or JavaScript control characters, the browser interprets them as executable markup rather than literal text.
Exploitation requires low-privilege authentication, as indicated by the CVSS vector component PR:L, and user interaction (UI:A) to trigger payload execution. The attack vector is network-based through the application's web interface. Impact is limited to the confidentiality and integrity of the affected user's browser session, with no availability consequences.
Root Cause
The root cause is missing or insufficient contextual output encoding of user-supplied input in a response rendered by the Repasat application. Input submitted via the nomTransportista parameter is reflected into the HTML response without escaping characters such as <, >, ", and '. This violates the standard CWE-79 pattern of improper neutralization of input during web page generation.
Attack Vector
An attacker with a low-privileged account submits a crafted request to /es/carriers/update, placing a JavaScript payload inside the nomTransportista parameter. When another authenticated user, such as an administrator, opens the carrier management view, the payload executes in that user's browser. The attacker can exfiltrate session cookies, perform forced actions through the application API, or pivot to further internal attacks. Technical details are available in the INCIBE Security Notice on Vulnerabilities.
Detection Methods for CVE-2026-59660
Indicators of Compromise
- POST or PUT requests to /es/carriers/update containing HTML tags, <script>, onerror=, onload=, or JavaScript URI schemes in the nomTransportista parameter.
- Carrier records in the Repasat database whose name field contains HTML entities, angle brackets, or encoded script fragments.
- Unexpected outbound requests from administrator browsers immediately following access to the carrier management page.
Detection Strategies
- Deploy web application firewall rules that inspect the nomTransportista parameter for XSS payload signatures and HTML control characters.
- Review application access logs for requests to /es/carriers/update originating from low-privileged accounts outside normal business workflows.
- Perform periodic database audits of carrier records to identify entries containing script tags or JavaScript event handlers.
Monitoring Recommendations
- Enable Content Security Policy (CSP) violation reporting to capture inline script execution attempts in the Repasat web interface.
- Correlate browser telemetry from administrator endpoints with Repasat application logs to identify anomalous script execution.
- Alert on session token reuse from new IP addresses shortly after a user accesses the carriers management module.
How to Mitigate CVE-2026-59660
Immediate Actions Required
- Contact the Repasat vendor to confirm availability of a fixed version and apply the patch across all deployments.
- Audit existing carrier records for malicious payloads already stored in the nomTransportista field and sanitize affected entries.
- Restrict access to the /es/carriers/update endpoint to accounts with a genuine business need until patching is complete.
Patch Information
Refer to the INCIBE Security Notice on Vulnerabilities for vendor remediation guidance. No specific patched version is listed in the NVD entry at time of publication.
Workarounds
- Deploy a web application firewall rule to block or sanitize HTML and JavaScript characters submitted to the nomTransportista parameter.
- Implement a strict Content Security Policy that disables inline scripts and restricts script sources to trusted origins.
- Enforce the principle of least privilege for Repasat accounts to limit which users can submit carrier updates.
# Example nginx WAF-style rule to block script tags in the vulnerable parameter
location /es/carriers/update {
if ($args ~* "nomTransportista=.*(<script|javascript:|onerror=|onload=)") {
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

