CVE-2024-5139

published 21 Oct 2026 · updated 30 Oct 2026

Cross-Site Scripting via Authentication Endpoint in Multiple WSO2 Products Enables UI Manipulation and Redirection

6.1MediumCVSS 6.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in API Manager 3.1.0.286, API Manager 3.2.0.376, API Manager 3.2.1.10 and 22 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
WSO2API Manager>=3.1.0 <3.1.0.286, >=3.2.0 <3.2.0.376, >=3.2.1 <3.2.1.10, >=4.0.0 <4.0.0.299, >=4.1.0 <4.1.0.159, >=4.2.0 <4.2.0.91, >=4.3.0 <4.3.0.63.1.0.286, 3.2.0.376, 3.2.1.10, 4.0.0.299, 4.1.0.159, 4.2.0.91, 4.3.0.6
WSO2Carbon User Management UI>=5.14.127 <5.14.127.6, >=5.17.118 <5.17.118.3, >=5.17.5 <5.17.5.273, >=5.18.187 <5.18.187.260, >=5.18.248 <5.18.248.12, >=5.23.8 <5.23.8.191, >=5.24.8 <5.24.8.3, >=5.25.705 <5.25.705.3, >=5.25.92 <5.25.92.99, >=7.0.78 <7.0.78.435.14.127.6, 5.17.118.3, 5.17.5.273, 5.18.187.260, 5.18.248.12, 5.23.8.191, 5.24.8.3, 5.25.705.3, 5.25.92.99, 7.0.78.43
WSO2Enterprise Integrator>=6.6.0 <6.6.0.2046.6.0.204
WSO2Identity Server>=5.10.0 <5.10.0.306, >=5.10.0 <5.10.0.310, >=6.0.0 <6.0.0.212, >=6.1.0 <6.1.0.195, >=7.0.0 <7.0.0.645.10.0.306, 5.10.0.310, 6.0.0.212, 6.1.0.195, 7.0.0.64
WSO2Open Banking AM>=2.0.0 <2.0.0.3362.0.0.336
WSO2Open Banking IAM>=2.0.0 <2.0.0.3572.0.0.357

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in WSO2, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-5139 severity on Zeptric[![CVE-2024-5139](https://zeptric.io/badge/cve/CVE-2024-5139.svg)](https://zeptric.io/cve/CVE-2024-5139)