CVE-2026-59661 in Repasatinfo

Summary

by MITRE • 10/02/2026

Cross-Site Scripting vulnerability in the Repasat application. Successful exploitation of this vulnerability could allow an attacker to trick a user into executing arbitrary code in the victim’s browser. The “nomRuta” parameter is affected – endpoint “/es/routes/update/693”.

Be aware that VulDB is the high quality source for vulnerability data.

Analysis

by VulDB Data Team • 10/02/2026

The identified security flaw represents a classic Cross-Site Scripting (XSS) vulnerability within the Repasat web application, specifically targeting the route update functionality accessible via the /es/routes/update/693 endpoint. This type of injection attack occurs when an application includes untrusted data in its output without proper validation or encoding. In this specific instance, the nomRuta parameter is susceptible to malicious input manipulation. When a user interacts with this endpoint, the application fails to adequately sanitize the input provided for the route name before rendering it back into the HTML context of the response page. This lack of sanitization allows an attacker to inject client-side scripts that are then executed by the victim's web browser as if they were legitimate content from the trusted Repasat domain.

From a technical perspective, this vulnerability falls under CWE-79, which is classified as Improper Neutralization of Input During Web Page Generation. The core issue lies in the application’s failure to distinguish between executable code and data when processing user-supplied input for the nomRuta field. By embedding raw or insufficiently encoded script tags within the response body, the server effectively becomes a vector for delivering malicious payloads. This is particularly dangerous because it leverages the trust that users have in the specific domain of the Repasat application. The attacker does not need to exploit any software bugs on their own machine; instead, they rely on social engineering or other vectors to lure an authenticated user into triggering the payload through this endpoint.

The operational impact of successfully exploiting this vulnerability is severe and multifaceted. An adversary can execute arbitrary JavaScript in the context of the victim’s browser session, which grants them access to sensitive information such as session cookies, authentication tokens, and personally identifiable data stored within local storage or application state. Beyond simple data theft, the attacker could perform actions on behalf of the user, such as modifying route configurations, deleting records, or initiating transactions without authorization. This effectively compromises the integrity and confidentiality of the application’s data while undermining the trust relationship between the user and the service provider. In many cases, this can lead to account takeover scenarios where the attacker gains persistent access by stealing session identifiers that have not been properly invalidated upon logout or timeout.

This vulnerability aligns with several techniques in the MITRE ATT&CK framework for web application attacks. It is primarily associated with T1059, specifically sub-technique 007 which covers JavaScript execution within a browser environment. Furthermore, it relates to T1204, indicating user execution as part of an initial access or persistence strategy where the victim’s interaction serves as the trigger for malicious activity. The exploitation path typically involves crafting a specially formatted URL containing the injected script in the nomRuta parameter and delivering this link through phishing emails, compromised websites, or other social engineering channels to trick the target into visiting the manipulated endpoint while logged into Repasat.

To mitigate this vulnerability, immediate remediation steps must focus on implementing robust input validation and output encoding strategies. Developers should enforce strict allow-listing for the nomRuta parameter, ensuring that only expected characters such as alphanumeric values, spaces, and specific punctuation are accepted. More critically, all user-supplied data rendered in HTML contexts must be properly encoded using context-aware escaping techniques. For instance, if the input is placed within an HTML body element, it should undergo HTML entity encoding to prevent script tags from being interpreted by the browser. Additionally, implementing Content Security Policy headers can provide a layer of defense-in-depth by restricting the sources from which scripts are allowed to execute, thereby neutralizing many XSS payloads even if they manage to bypass input filters. Regular security testing and code reviews focusing on data flow analysis will help ensure that similar injection points do not exist elsewhere in the application architecture.

Responsible

INCIBE

Reservation

07/06/2026

Disclosure

10/02/2026

Moderation

accepted

EPSS

0.00000

KEV

no

Activities

very low

Sources

Interested in the pricing of exploits?

See the underground prices here!