CVE-2024-5139 Cross-Site Scripting via Authentication Endpoint in Multiple WSO2 Products Enables UI Manipulation and Redirection
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2024-5139?
CVE-2024-5139 is a medium-severity vulnerability in WSO2 API Manager, published on 21 Oct 2026.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2024-5139?
How do I fix CVE-2024-5139?
No fix has been published for CVE-2024-5139 yet. Limit exposure of the affected software until one is available.
Is CVE-2024-5139 being exploited?
There is no known exploitation of CVE-2024-5139 in the wild and no public exploit code.
Sources
Also known as GHSA-rh2p-8p77-h6xw.