CVE-2024-5962
JSON

6.1medium

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

Severity
6.1medium CVSS:3.1 by WSO2
Exploit likelihood
0.46% (higher than 31% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
WSO2

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.

Affected

Product or packageVersionsReported by
WSO2 WSO2 API Managerfrom 4.2.0 before 4.2.0.94, from 4.3.0 before 4.3.0.9CVE List
WSO2 WSO2 Identity Serverfrom 6.0.0 before 6.0.0.199, from 6.1.0 before 6.1.0.172CVE List
wso2 api_manager4.2.0, 4.3.0NVD
wso2 identity_server6.0.0, 6.1.0NVD

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Existe una vulnerabilidad de Cross-Site Scripting (XSS) Reflejado en el endpoint de autenticación de varios productos WSO2 debido a la falta de codificación de salida de la entrada proporcionada por el usuario. Un atacante puede explotar esta vulnerabilidad para inyectar JavaScript arbitrario en el flujo de autenticación, lo que podría provocar modificaciones de la interfaz de usuario, redirecciones a sitios web maliciosos o la exfiltración de datos del navegador. Si bien este problema podría permitir a un atacante manipular el navegador del usuario, las cookies sensibles de sesión permanecen protegidas con el indicador httpOnly, lo que evita el secuestro de sesión.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-5962 changed 2025-05-22CVE Terms of Use
NVDCVE-2024-5962 changed 2026-06-17Public domain