CVE-2025-6508 Cross-site scripting in WSO2 API Manager
Attackers can load malicious Swagger definitions to deceive users, potentially exposing sensitive data or triggering unintended backend requests.
- 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-6508?
CVE-2025-6508 is a medium-severity cross-site scripting vulnerability in WSO2 API Manager, published on 6 Aug 2026. 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
The Swagger UI Try-out console within the API Publisher documentation allows an external Swagger API definition URL to be loaded, overriding the existing API definitions within the Publisher portal.
By exploiting this vulnerability, malicious actors can deceive users into interacting with these overwritten API definitions. This could lead to the exposure of sensitive information or the initiation of unintended requests to backend services.
Weakness: CWE-79
Which versions are affected by CVE-2025-6508?
How do I fix CVE-2025-6508?
No fix has been published for CVE-2025-6508 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-6508 being exploited?
There is no known exploitation of CVE-2025-6508 in the wild and no public exploit code.
Sources
Also known as GHSA-p462-ppqc-2w4x.