CVE-2024-5962

published 22 May 2025 · updated 22 May 2025

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

6.1MediumCVSS 6.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in API Manager 4.2.0.94, API Manager 4.3.0.9, Identity Server 6.0.0.199 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
WSO2API Manager>=4.2.0 <4.2.0.94, >=4.3.0 <4.3.0.94.2.0.94, 4.3.0.9
WSO2Identity Server>=6.0.0 <6.0.0.199, >=6.1.0 <6.1.0.1726.0.0.199, 6.1.0.172

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in WSO2, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-5962 severity on Zeptric[![CVE-2024-5962](https://zeptric.io/badge/cve/CVE-2024-5962.svg)](https://zeptric.io/cve/CVE-2024-5962)