Skip to content

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

MediumCVSS 6.1 EPSS 0.27%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

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.

Upgrade path

4 packages: 2 fixed.

PackageAffectedFixed inStatus
WSO2 API Manager >= 4.2.0, < 4.2.0.94; >= 4.3.0, < 4.3.0.9 4.2.0.94, 4.3.0.9 Fixed
WSO2 Identity Server >= 6.0.0, < 6.0.0.199; >= 6.1.0, < 6.1.0.172 6.0.0.199, 6.1.0.172 Fixed
WSO2 api manager = 4.2.0; = 4.3.0 No fix listed Versions listed
WSO2 identity server = 6.0.0; = 6.1.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
WSO2 API Manager >= 4.2.0, < 4.2.0.94 4.2.0.94
WSO2 API Manager >= 4.3.0, < 4.3.0.9 4.3.0.9
WSO2 Identity Server >= 6.0.0, < 6.0.0.199 6.0.0.199
WSO2 Identity Server >= 6.1.0, < 6.1.0.172 6.1.0.172
WSO2 api manager = 4.2.0 No fix listed
WSO2 api manager = 4.3.0 No fix listed
WSO2 identity server = 6.0.0 No fix listed
WSO2 identity server = 6.1.0 No fix listed

References