CVE-2024-5139
JSON

6.1medium

Cross-Site Scripting via Authentication Endpoint in Multiple WSO2 Products Enables UI Manipulation and Redirection

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

Description

The Authentication Endpoint accepts user-supplied input without sufficient encoding, allowing for the injection of malicious JavaScript payloads. This vulnerability can be triggered by submitting crafted input to the Authentication Endpoint. Successful exploitation allows an attacker to redirect the user's browser to a malicious website, modify the web page's user interface, or extract sensitive information from the browser. However, due to the `httpOnly` flag on session-related cookies, session hijacking is not possible.

Affected

Product or packageVersionsReported by
WSO2 WSO2 Enterprise Integratorbefore 6.6.0, from 6.6.0 before 6.6.0.204CVE List
WSO2 WSO2 Identity Serverbefore 5.10.0, from 5.10.0 before 5.10.0.310, from 6.0.0 before 6.0.0.212, from 6.1.0 before 6.1.0.195, from 7.0.0 before 7.0.0.64CVE List
WSO2 WSO2 API Managerbefore 3.1.0, from 3.1.0 before 3.1.0.286, from 3.2.0 before 3.2.0.376, from 3.2.1 before 3.2.1.10, from 4.0.0 before 4.0.0.299, from 4.1.0 before 4.1.0.159, from 4.2.0 before 4.2.0.91, from 4.3.0 before 4.3.0.6CVE List
WSO2 WSO2 Open Banking AMbefore 2.0.0, from 2.0.0 before 2.0.0.336CVE List
WSO2 WSO2 Identity Server as Key Managerbefore 5.10.0, from 5.10.0 before 5.10.0.306CVE List
WSO2 WSO2 Open Banking IAMbefore 2.0.0, from 2.0.0 before 2.0.0.357CVE List
org.wso2.carbon.user.mgt.uifrom 5.14.127 before 5.14.127.6, from 5.17.5 before 5.17.5.273, from 5.17.118 before 5.17.118.3, from 5.18.187 before 5.18.187.260, from 5.18.248 before 5.18.248.12, from 5.23.8 before 5.23.8.191, from 5.24.8 before 5.24.8.3, from 5.25.92 before 5.25.92.99 and 2 moreCVE List

Classification

CWE-79

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

What each source says

CVE List

The Authentication Endpoint accepts user-supplied input without sufficient encoding, allowing for the injection of malicious JavaScript payloads. This vulnerability can be triggered by submitting crafted input to the Authentication Endpoint. Successful exploitation allows an attacker to redirect the user's browser to a malicious website, modify the web page's user interface, or extract sensitive information from the browser. However, due to the `httpOnly` flag on session-related cookies, session hijacking is not possible.

NVD (es)

El endpoint de autenticación acepta entradas suministradas por el usuario sin una codificación suficiente, lo que permite la inyección de cargas útiles de JavaScript maliciosas. Esta vulnerabilidad puede activarse al enviar entradas manipuladas al endpoint de autenticación.\n\nLa explotación exitosa permite a un atacante redirigir el navegador del usuario a un sitio web malicioso, modificar la interfaz de usuario de la página web o extraer información sensible del navegador. Sin embargo, debido al indicador “httpOnly” en las cookies relacionadas con la sesión, el secuestro de sesión no es posible.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-5139 changed 2026-10-30CVE Terms of Use
NVDCVE-2024-5139 changed 2026-10-30Public domain