CVE-2025-5770 Reflected Cross-Site Scripting (XSS) in Authentication Endpoints of Multiple WSO2 Products
Attackers can inject JavaScript into WSO2 authentication endpoints to manipulate UI or access data, though session hijacking is mitigated by httpOnly cookies.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-5770?
CVE-2025-5770 is a medium-severity cross-site scripting vulnerability in Wso2 Api Manager, published on 5 Nov 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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 victim’s browser. However, session-related cookies are protected with the httpOnly flag, which mitigates session hijacking via this vector.
Weakness: CWE-79
Which versions are affected by CVE-2025-5770?
It affects 3 products.
Products include Wso2 Api Control Plane, Wso2 Api Manager, Wso2 Identity Server.
How do I fix CVE-2025-5770?
No fix has been published for CVE-2025-5770 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-5770 being exploited?
There is no known exploitation of CVE-2025-5770 in the wild and no public exploit code.
Other vulnerabilities in Wso2 Api Manager
- CVE-2026-5430 WSO2 Multiple Products Path Traversal Vulnerability
- CVE-2026-1728 Privilege Escalation via System REST APIs in Multiple WSO2 Products Permits Admin Account Takeover
- CVE-2025-9312 Improper Certificate-Based Authentication Enforcement in Multiple WSO2 Products
- CVE-2025-10611 Potential Broken Access Control in Multiple WSO2 Products via System REST APIs
- CVE-2025-9152 Improper Privilege Management in Multiple WSO2 API Manager via keymanager-operations DCR Endpoint
Sources
Also known as GHSA-rc63-xm4j-4f8h.