CVE-2025-5770 Reflected Cross-Site Scripting (XSS) in Authentication Endpoints of Multiple WSO2 Products

Medium 6.1 Published Updated

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.

All Wso2 Api Manager vulnerabilities

Sources

Also known as GHSA-rc63-xm4j-4f8h.

Is CVE-2025-5770 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free