CVE-2024-5139Cross-Site Scripting via Authentication Endpoint in Multiple WSO2 Products Enables UI…
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by WSO2, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- WSO2 Enterprise Integrator: affected: 6.6.0 to before 6.6.0.204; fixed in
6.6.0.204 - WSO2 Identity Server: affected: 5.10.0 to before 5.10.0.310, 6.0.0 to before 6.0.0.212, 6.1.0 to before 6.1.0.195, 7.0.0 to before 7.0.0.64; fixed in
5.10.0.310,6.0.0.212,6.1.0.195,7.0.0.64 - WSO2 API Manager: affected: 3.1.0 to before 3.1.0.286, 3.2.0 to before 3.2.0.376, 3.2.1 to before 3.2.1.10, 4.0.0 to before 4.0.0.299, 4.1.0 to before 4.1.0.159, 4.2.0 to before 4.2.0.91; fixed in
3.1.0.286,3.2.0.376,3.2.1.10,4.0.0.299,4.1.0.159,4.2.0.91 - WSO2 Open Banking AM: affected: 2.0.0 to before 2.0.0.336; fixed in
2.0.0.336 - WSO2 Identity Server as Key Manager: affected: 5.10.0 to before 5.10.0.306; fixed in
5.10.0.306 - WSO2 Open Banking IAM: affected: 2.0.0 to before 2.0.0.357; fixed in
2.0.0.357 - WSO2 Carbon User Management UI: affected: 5.14.127 to before 5.14.127.6, 5.17.5 to before 5.17.5.273, 5.17.118 to before 5.17.118.3, 5.18.187 to before 5.18.187.260, 5.18.248 to before 5.18.248.12, 5.23.8 to before 5.23.8.191; fixed in
5.14.127.6,5.17.5.273,5.17.118.3,5.18.187.260,5.18.248.12,5.23.8.191
Solution: Follow the instructions given on https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2024-3382/#solution
Vendor advisories:
- https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/… (vendor-advisory)
- https://github.com/wso2/carbon-identity-framework/pull/5740 (patch)
- https://github.com/wso2/carbon-identity-framework/pull/5741 (patch)
References
- https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2024-3382/
- https://github.com/wso2/carbon-identity-framework/pull/5740
- https://github.com/wso2/carbon-identity-framework/pull/5741
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.