NetSight
medium4.8

CVE-2025-12544

The Publisher portal fails to enforce proper validation on uploaded SVG files, allowing users with the Publisher role to inject malicious scripts.

Impact

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.

An attacker can exploit this over the network, with an administrator account, but a user has to do something, such as open a file or a link. If it succeeds: low risk of data being read, low risk of data or systems being changed. The attack can reach beyond the vulnerable component itself.

Affected products · WSO2

ProductAffected versions
WSO2 API Manager
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.7
WSO2 Carbon API Manager Publisher REST API
before 9.28.140

Weakness classification

References