Skip to main content

WSO2 API Manager CVE-2025-12544

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-02 WSO2
4.8
CVSS 3.1 · Vendor: WSO2
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain Publisher-role account
  2. Delivery
    Upload crafted malicious SVG
  3. Exploit
    SVG stored unvalidated by portal
  4. Execution
    Victim browser renders SVG
  5. Persist
    Script executes in victim session
  6. Impact
    Redirect browser or exfiltrate browser data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated account holding the Publisher role (CVSS PR:H) that can upload files via the WSO2 API Manager Publisher portal, which fails to validate uploaded SVG content. A second condition is victim interaction (UI:R): another user must load the page that stores and renders the crafted SVG for the injected script to execute in their browser. Impact is inherently limited - session cookies carry the httpOnly flag, so session hijacking is not possible, and consequences are confined to browser-context effects (forced redirect, UI modification, reading browser-accessible information). The need for a privileged Publisher account is the primary factor narrowing real-world risk to insider or compromised-privileged-user scenarios.

Impact

This is a moderate-severity stored cross-site scripting flaw (CWE-79, CVSS 4.8) rather than a top-priority emergency. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N shows the most important limiting factor: PR:H means the attacker must already hold a privileged Publisher-role account, and UI:R means a victim must view the stored SVG, so this is not a drive-by, unauthenticated issue. The scope change (S:C) and low C/I impacts reflect script execution in a victim's browser context rather than server compromise, and the vendor explicitly notes httpOnly cookies block session hijacking, further capping impact. The vuln.today decision label is 'this_month' (not act_now/emergency), consistent with the modest score. No EPSS score, no CISA KEV listing, and no PoC/exploit reference were provided, so there is no signal of active exploitation or public exploit code - no public exploit identified at time of analysis. The signals are mutually consistent (authenticated, interaction-dependent, low-impact XSS); nothing in the data conflicts. Net: a real but low-urgency, insider/privileged-abuse-class weakness, appropriately scheduled for routine patching rather than crisis response.

Exploit ScenarioDerived

An attacker who has obtained a WSO2 API Manager Publisher-role account crafts an SVG file embedding malicious JavaScript and uploads it through the Publisher portal, where it is stored and later rendered by the application. When another user's browser renders the stored SVG, the script executes in their session context, allowing the attacker to redirect the browser to an arbitrary site, alter the page UI, or read accessible browser information. No public exploit code or PoC was provided in the available data.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 02, 2026

Stored cross-site scripting in the WSO2 API Manager Publisher portal allows users holding the Publisher role to upload SVG files whose content is never validated, so embedded script is persisted and later executed in the browser of any user who views the rendered asset. The flaw is scored CVSS 4.8 (AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N), and its practical reach is narrow because it requires a privileged Publisher account plus victim interaction, while httpOnly-protected session cookies block session hijacking and limit the outcome to browser-context effects such as forced redirects, UI tampering, or reading browser-accessible information. No public exploit code and no confirmed active exploitation were identified at time of analysis, and the vendor-prioritised decision label places it in the this-month remediation window rather than an emergency response.

RemediationAI

The supplied data does not specify a fixed release version, so the vendor advisory WSO2-2025-4500 at https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4500/ should be consulted to identify the exact patched build for each affected branch and that build applied. Until the upgrade is scheduled within the this-month window indicated by the priority label, compensating controls should target the two prerequisites this issue depends on. First, tighten the Publisher role: because exploitation requires an authenticated Publisher account (PR:H), audit who holds that role, remove it from users who do not need publishing rights, and require MFA for the remainder - the trade-off is reduced publishing throughput and additional admin overhead. Second, block SVG handling at the portal: reject image/svg+xml uploads and serve any stored user-supplied assets with Content-Disposition: attachment and from a separate origin, so rendered files cannot execute in the portal's origin context - the trade-off is broken or degraded SVG previews for legitimate publishers. A restrictive Content-Security-Policy on the Publisher portal reduces script execution from inline SVG but requires tuning to avoid breaking the console's own scripts. Note that the httpOnly flag on session cookies is already the control preventing escalation to session hijacking, and it should not be relaxed.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This is a CWE-79 cross-site scripting defect that arises because SVG is an XML-based, script-capable image format: an uploaded SVG can carry <script> elements or event-handler attributes that the browser executes when the file is rendered inline within the Publisher portal origin. The Publisher portal accepts these files without validating their content, converting a legitimate publishing feature into a stored-script injection path. CPE data identifies the affected code base as WSO2 API Manager (cpe:2.3:a:wso2:wso2_api_manager) together with the WSO2 Carbon API Manager Publisher REST API component (cpe:2.3:a:wso2:wso2_carbon_api_manager_publisher_rest_api), consistent with the documented WSO2-2025-4500 advisory. The CVSS scope change (S:C) reflects that the injected script executes in the victim's browser against the portal origin, beyond the vulnerable upload component itself, but confidentiality and integrity impact are both rated Low because session cookies carry the httpOnly flag and are not reachable from script - so the realistic outcomes are client-side redirection, UI modification, and disclosure of browser-accessible data rather than account takeover. The exact parsing or rendering path that turns the stored SVG into executed script is not detailed in the available sources; the advisory describes the upload-and-render chain, and exploitation prerequisites are governed by PR:H (Publisher role required) and UI:R (a second user must load the page rendering the file).

Severity by source

Vendor (WSO2) PRIMARY 4.8 MEDIUM
AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 4.8 MEDIUM

Requires a privileged Publisher account (PR:H) and victim rendering of the stored SVG (UI:R); stored XSS executing in another user's browser is a scope change (S:C) with low C/I and no availability impact.

3.1 AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (WSO2).

CVSS VectorVendor: WSO2

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

Prevalence
Medium
enterprise API management platform, common but not universally deployed
Data Quality
2 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS N/A
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Affected Products (CPE)CVE.org

cpe:2.3:a:wso2:wso2_api_manager:*:*:*:*:*:*:*:*
cpe:2.3:a:wso2:wso2_carbon_api_manager_publisher_rest_api:*:*:*:*:*:*:*:*
CVE-2026-5430 CRITICAL POC
10.0 Aug 06

Authentication bypass in WSO2 API Manager and related components (Universal Gateway, Traffic Manager, API Control Plane,

CVE-2026-2053 CRITICAL
10.0 Jun 26

Server-side request forgery in WSO2 API Manager lets unauthenticated remote attackers coerce the gateway into making ser

CVE-2026-1728 CRITICAL
9.8 Aug 06

Privilege escalation in WSO2 API Manager and related Carbon-based products allows a low-privileged user, using a validly

CVE-2025-15039 CRITICAL
9.4 Aug 06

Authentication bypass in WSO2 Identity Server and multiple WSO2 platform products (API Manager, Open Banking AM/IAM/KM,

CVE-2025-11969 CRITICAL
9.4 Nov 02

Broken access control in WSO2 API Manager's System REST APIs lets a low-privilege authenticated user invoke administrati

CVE-2025-8325 HIGH
8.8 May 11

Missing role-based authorization on WSO2 API Manager's Gateway REST API lets any authenticated user invoke privileged Ga

CVE-2026-2613 HIGH
8.7 Nov 02

Blind SQL injection in the WSO2 API Manager Admin REST API allows an authenticated administrator to inject insufficientl

CVE-2026-4249 HIGH
8.6 Jul 06

Persistent denial of service in multiple WSO2 products - including WSO2 API Manager, WSO2 Universal Gateway, WSO2 Traffi

CVE-2025-12737 HIGH
8.4 Sep 03

OS command injection (CWE-78) in WSO2's shared Carbon Console administrative interface allows an authenticated administr

CVE-2025-14260 HIGH
8.3 Oct 28

Server-side request forgery in WSO2 API Manager and related WSO2 products lets a remote attacker direct the server to ar

CVE-2026-3416 HIGH
7.5 Sep 03

Predictable HMAC shared secrets generated by the API Publisher component of WSO2 API Manager allow a sophisticated attac

CVE-2025-8154 HIGH
7.5 May 11

HTTP response header injection in WSO2 API Manager and its companion WSO2 gateway components (Universal Gateway, Traffic

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy