WSO2 API Manager reflected XSS in authentication endpoint errors
WSO2 API Manager · WSO2 API Control Plane · WSO2 Identity Server
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| WSO2 WSO2 API Manager |
| No fix yet |
| WSO2 WSO2 API Control Plane |
|
WSO2 API Manager · WSO2 API Control Plane · WSO2 Identity Server
| Product | Affected | Fixed in |
|---|---|---|
| WSO2 WSO2 API Manager |
| No fix yet |
| WSO2 WSO2 API Control Plane |
|
≥ 4.6.0 · < 4.6.0.30≥ 4.7.0 · < 4.7.0.1| No fix yet |
| WSO2 WSO2 Identity Server |
| No fix yet |
The authentication endpoint generates an error message that includes reflected data directly from the request without sufficient sanitization or encoding. This allows an attacker to inject malicious scripts that can be executed in the context of a victim's browser.
Successful exploitation enables an attacker to perform actions within the user's browser, such as redirecting the user to a malicious website, modifying the web page's user interface, or retrieving information. However, due to the httpOnly flag on session-related cookies, session hijacking or similar attacks are not possible.
From the CVE record · WSO2
The authentication endpoint reflects request data in an error message without sufficient sanitization or encoding. An attacker can inject scripts that run when a victim’s browser displays the error, potentially redirecting the user, changing the page, or retrieving information. The httpOnly flag on session-related cookies prevents session hijacking through this issue.
Teams running WSO2 API Manager, WSO2 API Control Plane, or WSO2 Identity Server should check their deployments; affected versions were not specified.