# CVE-2024-5962: Reflected Cross-Site Scripting (XSS) in Authentication Endpoint of Multiple WSO2 Products Due to Missing Output Encoding

- Severity: Medium 6.1 (CVSS:3.1, scored by WSO2) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2025-05-22T19:34:05.818Z
- Modified: 2026-06-17T08:16:59.730Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: WSO2

## Description

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.

(As written by CVE List.)

## Affected

- WSO2 WSO2 API Manager: from 4.2.0 before 4.2.0.94; from 4.3.0 before 4.3.0.9
- WSO2 WSO2 Identity Server: from 6.0.0 before 6.0.0.199; from 6.1.0 before 6.1.0.172
- wso2 api_manager: 4.2.0; 4.3.0
- wso2 identity_server: 6.0.0; 6.1.0

## References

- <https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2024/WSO2-2024-3443/> (vendor-advisory)

## Sources

- CVE List: [CVE-2024-5962](https://www.cve.org/CVERecord?id=CVE-2024-5962), CVE Terms of Use, modified 2025-05-22
- NVD: [CVE-2024-5962](https://nvd.nist.gov/vuln/detail/CVE-2024-5962), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-5962 · Whole record: https://cve.day/CVE-2024-5962.json · Rebuilt by cve.day 2026-11-25T22:58:52.695Z
