CVE-2025-12544
JSON

4.8medium

Stored Cross-Site Scripting in Multiple WSO2 Products

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

Description

The Publisher portal fails to enforce proper validation on uploaded SVG files, allowing users with the Publisher role to inject malicious scripts. This weakness can be exploited by uploading a crafted SVG file, which is then stored and rendered by the application. The security consequences include the ability for a malicious actor to redirect the victim's browser to an arbitrary website, modify the web page's UI, or retrieve information from the browser. However, the impact is mitigated as session-related sensitive cookies are protected with the httpOnly flag, preventing session hijacking.

Affected

Product or packageVersionsReported by
WSO2 WSO2 API Managerbefore 3.2.0, from 3.2.0 before 3.2.0.449, from 3.2.1 before 3.2.1.68, from 4.0.0 before 4.0.0.368, from 4.1.0 before 4.1.0.60, from 4.2.0 before 4.2.0.7CVE List
org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.rest.api.publisher.v1before 9.28.140CVE List

Classification

CWE-79

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

What each source says

CVE List

The Publisher portal fails to enforce proper validation on uploaded SVG files, allowing users with the Publisher role to inject malicious scripts. This weakness can be exploited by uploading a crafted SVG file, which is then stored and rendered by the application. The security consequences include the ability for a malicious actor to redirect the victim's browser to an arbitrary website, modify the web page's UI, or retrieve information from the browser. However, the impact is mitigated as session-related sensitive cookies are protected with the httpOnly flag, preventing session hijacking.

NVD (es)

El portal del Editor no aplica una validación adecuada en los archivos SVG cargados, permitiendo a los usuarios con el rol de Editor inyectar scripts maliciosos. Esta vulnerabilidad puede ser explotada al cargar un archivo SVG manipulado, que luego es almacenado y renderizado por la aplicación. Las consecuencias de seguridad incluyen la capacidad para un actor malicioso de redirigir el navegador de la víctima a un sitio web arbitrario, modificar la interfaz de usuario de la página web o recuperar información del navegador. Sin embargo, el impacto se mitiga ya que las cookies sensibles relacionadas con la sesión están protegidas con el flag httpOnly, lo que previene el secuestro de sesión.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-12544 changed 2026-11-02CVE Terms of Use
NVDCVE-2025-12544 changed 2026-11-04Public domain