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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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 | 3.2.0.449 |
| WSO2 | WSO2 Carbon API Manager Publisher REST API | < 9.28.140 | 9.28.140 |