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

Published Oct 21, 2026
·
Updated

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 Software

1 affected component
WSO2 WSO2 Products

Event History

Oct 21, 2026
CVE Published
via MITRE·01:36 PM
Data Sourced
via MITRE·01:36 PM
RemedyDescriptionSeverityWeakness

Frequently Asked Questions

1

What must an attacker do to exploit this issue?

An attacker must cause a user to submit crafted input to the Authentication Endpoint. Exploitation requires user interaction, as reflected by the UI:R attack vector.

2

What can an attacker do after successful exploitation?

The attacker can execute malicious JavaScript in the affected browser context to redirect the user to a malicious site, alter the page interface, or extract sensitive information available to the browser.

3

Can this vulnerability be used to hijack user sessions?

No. Session-related cookies are protected with the httpOnly flag, so malicious JavaScript cannot access them for session hijacking.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203