CVE-2025-12544

Stored Cross-Site Scripting in Multiple WSO2 Products

Published Nov 2, 2026 CVSS 3.1 · 4.8 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

An authenticated user with the Publisher role can upload a crafted SVG file to the Publisher portal, which is stored and later rendered without proper validation. The default embedding of the SVG allows the attacker to inject JavaScript code that can redirect the victim’s browser, modify the page’s user interface, or capture information from the browser context. The impact is limited to client‑side execution because session cookies are marked httpOnly, preventing direct session hijacking.

Affected Systems

The vulnerability affects WSO2 API Manager and the Carbon API Manager Publisher REST API. Specific affected versions were not provided in the available data, so the product vendor’s documentation should be consulted for precise version information.

Risk and Exploitability

The CVSS score is 4.8, indicating a moderate severity. No EPSS score is available, and it is not listed in the CISA KEV catalog. The most likely attack vector is an authenticated user with Publisher privileges who uploads an SVG file; no special environmental conditions are required beyond the normal operation of the Publisher portal. The exploitation risk is moderate, but the potential to deface or redirect users remains significant.

Remediation

Vendor Solution

Follow the instructions given on https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4500/#solution


OpenCVE Recommended Actions

  • Apply the vendor patch released by WSO2 as described in the advisory at https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4500/#solution
  • If a patch cannot be applied immediately, disable or restrict the ability to upload SVG files by configuring the portal’s file‑upload settings or removing the Publisher role’s permission to upload files
  • If either patch or upload restriction is not feasible, deploy a Web Application Firewall with rules to block or sanitize SVG file uploads

Generated by OpenCVE AI on November 2, 2026 at 11:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Wso2
Wso2 api Manager
Wso2 wso2 Api Manager
Wso2 wso2 Carbon Api Manager Publisher Rest Api
Vendors & Products Wso2
Wso2 api Manager
Wso2 wso2 Api Manager
Wso2 wso2 Carbon Api Manager Publisher Rest Api
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Stored Cross-Site Scripting in Multiple WSO2 Products
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
WSO2
Published
Updated
Nov 2, 2026, 5:01 PM
Reserved
Oct 31, 2025, 9:10 AM
Status
Awaiting Analysis
Published
Nov 2, 2026, 11:17 AM
Modified
Nov 4, 2026, 10:10 PM