CVE-2025-6024
JSON

6.1medium

Cross-Site Scripting via Authentication Endpoint in Multiple WSO2 Products Allows Redirection to Malicious Websites

Severity
6.1medium CVSS:3.1 by WSO2
Exploit likelihood
0.30% (higher than 16% of CVEs)
Published
Last changed
Assigned by
WSO2

Description

The authentication endpoint fails to encode user-supplied input before rendering it in the web page, allowing for script injection. An attacker can leverage this by injecting malicious scripts into the authentication endpoint. This can result in the user's browser being redirected to a malicious website, manipulation of the web page's user interface, or the retrieval of information from the browser. However, session hijacking is not possible due to the httpOnly flag protecting session-related cookies.

Affected

Product or packageVersionsReported by
WSO2 WSO2 API Managerbefore 3.1.0, from 3.1.0 before 3.1.0.351, from 3.2.0 before 3.2.0.455, from 3.2.1 before 3.2.1.74, from 4.0.0 before 4.0.0.375, from 4.1.0 before 4.1.0.238CVE List
WSO2 WSO2 Identity Serverbefore 5.10.0, from 5.10.0 before 5.10.0.360, from 5.11.0 before 5.11.0.405CVE List
wso2 api_manager3.1.0, 3.2.0, 3.2.1, 4.0.0, 4.1.0NVD
wso2 identity_server5.10.0, 5.11.0NVD

Classification

CWE-79

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

What each source says

CVE List

The authentication endpoint fails to encode user-supplied input before rendering it in the web page, allowing for script injection. An attacker can leverage this by injecting malicious scripts into the authentication endpoint. This can result in the user's browser being redirected to a malicious website, manipulation of the web page's user interface, or the retrieval of information from the browser. However, session hijacking is not possible due to the httpOnly flag protecting session-related cookies.

NVD (es)

El punto final de autenticación no codifica la entrada proporcionada por el usuario antes de renderizarla en la página web, lo que permite la inyección de scripts. Un atacante puede aprovechar esto inyectando scripts maliciosos en el punto final de autenticación. Esto puede resultar en que el navegador del usuario sea redirigido a un sitio web malicioso, la manipulación de la interfaz de usuario de la página web, o la recuperación de información del navegador. Sin embargo, el secuestro de sesión no es posible debido a la bandera httpOnly que protege las cookies relacionadas con la sesión.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-6024 changed 2026-04-16CVE Terms of Use
NVDCVE-2025-6024 changed 2026-10-14Public domain