4.8Medium

CVE-2025-12544Stored Cross-Site Scripting in Multiple WSO2 Products

WSO2 WSO2 API Manager; WSO2 WSO2 Carbon API Manager Publisher REST API Published: (14 days ago)

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.

Weakness (CWE): CWE-79

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
WSO2 WSO2 API Manager 3.2.0 – < 3.2.0.449, 3.2.1 – < 3.2.1.68, 4.0.0 – < 4.0.0.368, 4.1.0 – < 4.1.0.60, 4.2.0 – < 4.2.0.7
WSO2 WSO2 Carbon API Manager Publisher REST API < 9.28.140

References and patches