CVE-2024-5962: Reflected Cross-Site Scripting (XSS) in Authentication Endpoint of Multiple WSO2 Products Due to Missing Output Encoding
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
Remediation
Information
Event History
Frequently Asked Questions
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.
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.
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.
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.
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.