XSS in Wso2 Api Manager
CVE-2024-5962
A reflected cross-site scripting (XSS) vulnerability exists in the authentication endpoint of multiple WSO2 products due to missing output encoding of user-supplied input. A malicious actor can exploit this vulnerability to inject arbitrary JavaScript into the authentication flow, potentially leading to UI modifications, redirections to malicious websites, or data exfiltration from the browser. While this issue could allow an attacker to manipulate the user’s browser, session-related sensitive cookies remain protected with the httpOnly flag, preventing session hijacking.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.002 (13.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
Affected products
- Wso2 Api_manager — versions 4.2.0, 4.3.0
- Wso2 Identity_server — versions 6.0.0, 6.1.0
- Wso2 Api Manager — versions 4.2.0, 4.3.0
- Wso2 Identity Server — versions 6.0.0, 6.1.0
Weakness classification (CWE)
References
- ed10eef1-636d-4fbe-9993-6890dfa878f8 (vendor-advisory, Vendor Advisory)
Frequently asked questions
- What is CVE-2024-5962?
- CVE-2024-5962 is a medium-severity vulnerability in Wso2 Api Manager, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2025-05-22.
- How severe is CVE-2024-5962?
- Medium severity. CVSS v3 base score is 6.1 out of 10.