CVE-2025-5770
JSON

6.1medium

Reflected Cross-Site Scripting (XSS) in Authentication Endpoints of Multiple WSO2 Products

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

Description

A reflected cross-site scripting (XSS) vulnerability exists in the authentication endpoints of multiple WSO2 products due to a lack of output encoding. A malicious actor can inject arbitrary JavaScript payloads into the authentication endpoint, which are reflected back in the response, enabling browser-based attacks. Exploitation may result in redirection to malicious websites, UI manipulation, or unauthorized data access from the victim’s browser. However, session-related cookies are protected with the httpOnly flag, which mitigates session hijacking via this vector.

Affected

Product or packageVersionsReported by
WSO2 WSO2 Identity Serverbefore 6.0.0, from 6.0.0 before 6.0.0.247, from 6.1.0 before 6.1.0.246, from 7.0.0 before 7.0.0.122, from 7.1.0 before 7.1.0.29CVE List
WSO2 WSO2 API Managerbefore 4.2.0, from 4.2.0 before 4.2.0.150, from 4.3.0 before 4.3.0.63, from 4.4.0 before 4.4.0.26, from 4.5.0 before 4.5.0.10CVE List
WSO2 WSO2 API Control Planefrom 4.5.0 before 4.5.0.11CVE List
wso2 api_control_plane4.5.0NVD
wso2 api_manager4.2.0, 4.3.0, 4.4.0, 4.5.0NVD
wso2 identity_server6.0.0, 6.1.0, 7.0.0, 7.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 endpoints of multiple WSO2 products due to a lack of output encoding. A malicious actor can inject arbitrary JavaScript payloads into the authentication endpoint, which are reflected back in the response, enabling browser-based attacks. Exploitation may result in redirection to malicious websites, UI manipulation, or unauthorized data access from the victim’s browser. However, session-related cookies are protected with the httpOnly flag, which mitigates session hijacking via this vector.

NVD (es)

Una vulnerabilidad de cross-site scripting (XSS) reflejado existe en los endpoints de autenticación de múltiples productos WSO2 debido a una falta de codificación de salida. Un actor malicioso puede inyectar cargas útiles (payloads) JavaScript arbitrarias en el endpoint de autenticación, las cuales se reflejan en la respuesta, lo que permite ataques basados en el navegador. La explotación puede resultar en redirección a sitios web maliciosos, manipulación de la interfaz de usuario (UI) o acceso no autorizado a datos desde el navegador de la víctima. Sin embargo, las cookies relacionadas con la sesión están protegidas con la bandera (flag) httpOnly, lo que mitiga el secuestro de sesión a través de este vector.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-5770 changed 2025-11-05CVE Terms of Use
NVDCVE-2025-5770 changed 2026-10-18Public domain