Vulnerability · Published Sep 23, 2025 · Assigned by WSO2

CVE-2025-4760Authenticated Stored Cross-Site Scripting (XSS) in Multiple WSO2 Products via API Document Upload in Publisher

Medium 4.8

In plain English

A medium-severity cross-site scripting in WSO2 API Control Plane from WSO2. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.8Medium
Exploit odds (30 days)0.2%top 91.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

An authenticated stored cross-site scripting (XSS) vulnerability exists in multiple WSO2 products due to improper validation of user-supplied input during API document upload in the Publisher portal. A user with publisher privileges can upload a crafted API document containing malicious JavaScript, which is later rendered in the browser when accessed by other users. A successful attack could result in redirection to malicious websites, unauthorized UI modifications, or exfiltration of browser-accessible data. However, session-related sensitive cookies are protected by the httpOnly flag, preventing session hijacking.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.wso2.carbon.apimgt:org.wso2.carbon.apimgt.api9.31.117GHSA-cmjc-qp7j-xgwr
Mavenorg.wso2.carbon.apimgt:org.wso2.carbon.apimgt.rest.api.publisher.v19.31.117GHSA-cmjc-qp7j-xgwr

Affected products (as reported)

VendorProductVersions
WSO2 WSO2 API Manager 3.2.0 – before 3.2.0.4283.2.1 – before 3.2.1.484.1.0 – before 4.1.0.2094.2.0 – before 4.2.0.1454.3.0 – before 4.3.0.604.4.0 – before 4.4.0.234.5.0 – before 4.5.0.7
WSO2 WSO2 API Control Plane 4.5.0 – before 4.5.0.8
WSO2 WSO2 Universal Gateway 4.5.0 – before 4.5.0.7
WSO2 WSO2 Traffic Manager 4.5.0 – before 4.5.0.7
WSO2 WSO2 Carbon API Management API 6.7.206 – before 6.7.206.5596.7.210 – before 6.7.210.489.20.74 – before 9.20.74.3659.28.116 – before 9.28.116.3219.29.120 – before 9.29.120.1639.30.67 – before 9.30.67.809.31.86 – before 9.31.86.30

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

References