XSS in WSO2 Auth Endpoints via Unencoded Output
CVE-2025-5770 Published on November 5, 2025
Reflected Cross-Site Scripting (XSS) in Authentication Endpoints of Multiple WSO2 Products
A reflected cross-site scripting (XSS) vulnerability exists in the authentication endpoints of multiple WSO2 products due to a lack of output encoding. A malicious actor can inject arbitrary JavaScript payloads into the authentication endpoint, which are reflected back in the response, enabling browser-based attacks.
Exploitation may result in redirection to malicious websites, UI manipulation, or unauthorized data access from the victims browser. However, session-related cookies are protected with the httpOnly flag, which mitigates session hijacking via this vector.
Vulnerability Analysis
CVE-2025-5770 is exploitable with network access, requires user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a small impact on confidentiality and integrity, and no impact on availability.
Weakness Type
What is a XSS Vulnerability?
The software does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
CVE-2025-5770 has been classified to as a XSS vulnerability or weakness.
Products Associated with CVE-2025-5770
Want to know whenever a new CVE is published for Wso2 products? stack.watch will email you.
Affected Versions
WSO2 Identity Server:- Before 6.0.0 is unknown.
- Version 6.0.0 and below 6.0.0.247 is affected.
- Version 6.1.0 and below 6.1.0.246 is affected.
- Version 7.0.0 and below 7.0.0.122 is affected.
- Version 7.1.0 and below 7.1.0.29 is affected.
- Before 4.2.0 is unknown.
- Version 4.2.0 and below 4.2.0.150 is affected.
- Version 4.3.0 and below 4.3.0.63 is affected.
- Version 4.4.0 and below 4.4.0.26 is affected.
- Version 4.5.0 and below 4.5.0.10 is affected.
- Version 4.5.0 and below 4.5.0.11 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.