What’s Vulnerable › Vulnerabilities

CVE-2024-10242: Reflected Cross-Site Scripting via Authentication Endpoint in WSO2 API Manager Allows UI Modification and Redirection

Description

The authentication endpoint fails to adequately validate user-supplied input before reflecting it back in the response. This allows an attacker to inject malicious script payloads into the input parameters, which are then executed by the victim's browser. Successful exploitation can enable an attacker to redirect the user's browser to a malicious website, modify the UI of the web page, or retrieve information from the browser. However, the impact is limited as session-related sensitive cookies are protected by the httpOnly flag, preventing session hijacking.

Affected products

How to fix

Upgrade to a fixed version: WSO2 API Manager 3.2.0.401, 4.0.0.318. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-10242 or the next vulnerability affects your stack