# CVE-2024-5139: Cross-Site Scripting via Authentication Endpoint in Multiple WSO2 Products Enables UI Manipulation and Redirection

- 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 21% of CVEs (2026-12-01)
- Published: 2026-10-21T13:36:49.246Z
- Modified: 2026-10-30T17:17:09.483Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: WSO2

## Description

The Authentication Endpoint accepts user-supplied input without sufficient encoding, allowing for the injection of malicious JavaScript payloads. This vulnerability can be triggered by submitting crafted input to the Authentication Endpoint.

Successful exploitation allows an attacker to redirect the user's browser to a malicious website, modify the web page's user interface, or extract sensitive information from the browser. However, due to the `httpOnly` flag on session-related cookies, session hijacking is not possible.

(As written by CVE List.)

## Affected

- WSO2 WSO2 Enterprise Integrator: before 6.6.0; from 6.6.0 before 6.6.0.204
- WSO2 WSO2 Identity Server: before 5.10.0; from 5.10.0 before 5.10.0.310; from 6.0.0 before 6.0.0.212; from 6.1.0 before 6.1.0.195; from 7.0.0 before 7.0.0.64
- WSO2 WSO2 API Manager: before 3.1.0; from 3.1.0 before 3.1.0.286; from 3.2.0 before 3.2.0.376; from 3.2.1 before 3.2.1.10; from 4.0.0 before 4.0.0.299; from 4.1.0 before 4.1.0.159; from 4.2.0 before 4.2.0.91; from 4.3.0 before 4.3.0.6
- WSO2 WSO2 Open Banking AM: before 2.0.0; from 2.0.0 before 2.0.0.336
- WSO2 WSO2 Identity Server as Key Manager: before 5.10.0; from 5.10.0 before 5.10.0.306
- WSO2 WSO2 Open Banking IAM: before 2.0.0; from 2.0.0 before 2.0.0.357
- org.wso2.carbon.user.mgt.ui: from 5.14.127 before 5.14.127.6; from 5.17.5 before 5.17.5.273; from 5.17.118 before 5.17.118.3; from 5.18.187 before 5.18.187.260; from 5.18.248 before 5.18.248.12; from 5.23.8 before 5.23.8.191; from 5.24.8 before 5.24.8.3; from 5.25.92 before 5.25.92.99; from 5.25.705 before 5.25.705.3; from 7.0.78 before 7.0.78.43

## References

- <https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2024-3382/> (vendor-advisory)
- <https://github.com/wso2/carbon-identity-framework/pull/5740> (patch)
- <https://github.com/wso2/carbon-identity-framework/pull/5741> (patch)

## Sources

- CVE List: [CVE-2024-5139](https://www.cve.org/CVERecord?id=CVE-2024-5139), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2024-5139](https://nvd.nist.gov/vuln/detail/CVE-2024-5139), Public domain, modified 2026-10-30

---

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