CVE-2024-5962: Reflected Cross-Site Scripting (XSS) in Authentication Endpoint of Multiple WSO2 Products Due to Missing Output Encoding

Published May 22, 2025
·
Updated

A reflected cross-site scripting (XSS) vulnerability exists in the authentication endpoint of multiple WSO2 products due to missing output encoding of user-supplied input. A malicious actor can exploit this vulnerability to inject arbitrary JavaScript into the authentication flow, potentially leading to UI modifications, redirections to malicious websites, or data exfiltration from the browser.

While this issue could allow an attacker to manipulate the user’s browser, session-related sensitive cookies remain protected with the httpOnly flag, preventing session hijacking.

Affected Software

5 affected components
WSO2 WSO2 Products
WSO2 API Manager=4.2.0
WSO2 API Manager=4.3.0
WSO2 Identity Server=6.0.0
WSO2 Identity Server=6.1.0

Remediation

Information

Follow the instructions given on https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2024/WSO2-2024-3... https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2024/WSO2-2024-3443/#solution

Event History

May 22, 2025
CVE Published
via MITRE·07:34 PM
Data Sourced
via MITRE·07:34 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-5962?

CVE-2024-5962 is classified as a reflected cross-site scripting (XSS) vulnerability in multiple WSO2 products.

2

How do I fix CVE-2024-5962?

To fix CVE-2024-5962, ensure that user-supplied input is appropriately output encoded in the authentication endpoint.

3

Which versions of WSO2 products are affected by CVE-2024-5962?

CVE-2024-5962 affects multiple versions of WSO2 products that do not implement proper output encoding.

4

Can CVE-2024-5962 allow remote code execution?

CVE-2024-5962 does not allow remote code execution but does permit the injection of arbitrary JavaScript.

5

What impact does CVE-2024-5962 have on user data?

CVE-2024-5962 can compromise user data integrity by allowing malicious actors to manipulate the authentication flow.

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