Authenticated Stored Cross-Site Scripting (XSS) in Multiple WSO2 Products via API Document Upload in Publisher
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| WSO2 | WSO2 API Manager | 3.2.0 to before 3.2.0.428; 3.2.1 to before 3.2.1.48; 4.1.0 to before 4.1.0.209; 4.2.0 to before 4.2.0.145; 4.3.0 to before 4.3.0.60; 4.4.0 to before 4.4.0.23; 4.5.0 to before 4.5.0.7 | 3.2.0.428, 3.2.1.48, 4.1.0.209, 4.2.0.145, 4.3.0.60, 4.4.0.23, 4.5.0.7 | Patch available | CNA |
| WSO2 | WSO2 API Control Plane | 4.5.0 to before 4.5.0.8 | 4.5.0.8 | Patch available | CNA |
| WSO2 | WSO2 Universal Gateway | 4.5.0 to before 4.5.0.7 | 4.5.0.7 | Patch available | CNA |
| WSO2 | WSO2 Traffic Manager | 4.5.0 to before 4.5.0.7 | 4.5.0.7 | Patch available | CNA |
| WSO2 | WSO2 Carbon API Management API | 6.7.206 to before 6.7.206.559; 6.7.210 to before 6.7.210.48; 9.20.74 to before 9.20.74.365; 9.28.116 to before 9.28.116.321; 9.29.120 to before 9.29.120.163; 9.30.67 to before 9.30.67.80; 9.31.86 to before 9.31.86.30 | 6.7.206.559, 6.7.210.48, 9.20.74.365, 9.28.116.321, 9.29.120.163, 9.30.67.80, 9.31.86.30, 9.31.117 | Patch available | CNA |
| — | org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.api (Maven) | before 9.31.117 | 9.31.117 | Patch available | GHSA-cmjc-qp7j-xgwr |
| — | org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.rest.api.publisher.v1 (Maven) | before 9.31.117 | 9.31.117 | Patch available | GHSA-cmjc-qp7j-xgwr |
- WSO2 API Manager VendorWSO2 Affected 3.2.0 to before 3.2.0.428; 3.2.1 to before 3.2.1.48; 4.1.0 to before 4.1.0.209; 4.2.0 to before 4.2.0.145; 4.3.0 to before 4.3.0.60; 4.4.0 to before 4.4.0.23; 4.5.0 to before 4.5.0.7 Fixed in 3.2.0.428, 3.2.1.48, 4.1.0.209, 4.2.0.145, 4.3.0.60, 4.4.0.23, 4.5.0.7 Patch available CNA
- WSO2 API Control Plane VendorWSO2 Affected 4.5.0 to before 4.5.0.8 Fixed in 4.5.0.8 Patch available CNA
- WSO2 Universal Gateway VendorWSO2 Affected 4.5.0 to before 4.5.0.7 Fixed in 4.5.0.7 Patch available CNA
- WSO2 Traffic Manager VendorWSO2 Affected 4.5.0 to before 4.5.0.7 Fixed in 4.5.0.7 Patch available CNA
- WSO2 Carbon API Management API VendorWSO2 Affected 6.7.206 to before 6.7.206.559; 6.7.210 to before 6.7.210.48; 9.20.74 to before 9.20.74.365; 9.28.116 to before 9.28.116.321; 9.29.120 to before 9.29.120.163; 9.30.67 to before 9.30.67.80; 9.31.86 to before 9.31.86.30 Fixed in 6.7.206.559, 6.7.210.48, 9.20.74.365, 9.28.116.321, 9.29.120.163, 9.30.67.80, 9.31.86.30, 9.31.117 Patch available CNA
- org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.api (Maven) Vendor— Affected before 9.31.117 Fixed in 9.31.117 Patch available GHSA-cmjc-qp7j-xgwr
- org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.rest.api.publisher.v1 (Maven) Vendor— Affected before 9.31.117 Fixed in 9.31.117 Patch available GHSA-cmjc-qp7j-xgwr
CPE configurations NVD · 10
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:wso2:api_control_plane:4.5.0:-:*:*:*:*:*:* | 4.5.0 | Vulnerable | WSO2 |
| cpe:2.3:a:wso2:api_manager:3.2.0:*:*:*:*:*:*:* | 3.2.0 | Vulnerable | WSO2 |
| cpe:2.3:a:wso2:api_manager:3.2.1:*:*:*:*:*:*:* | 3.2.1 | Vulnerable | WSO2 |
| cpe:2.3:a:wso2:api_manager:4.1.0:-:*:*:*:*:*:* | 4.1.0 | Vulnerable | WSO2 |
| cpe:2.3:a:wso2:api_manager:4.2.0:-:*:*:*:*:*:* | 4.2.0 | Vulnerable | WSO2 |
| cpe:2.3:a:wso2:api_manager:4.3.0:-:*:*:*:*:*:* | 4.3.0 | Vulnerable | WSO2 |
| cpe:2.3:a:wso2:api_manager:4.4.0:-:*:*:*:*:*:* | 4.4.0 | Vulnerable | WSO2 |
| cpe:2.3:a:wso2:api_manager:4.5.0:-:*:*:*:*:*:* | 4.5.0 | Vulnerable | WSO2 |
| cpe:2.3:a:wso2:traffic_manager:4.5.0:*:*:*:*:*:*:* | 4.5.0 | Vulnerable | WSO2 |
| cpe:2.3:a:wso2:universal_gateway:4.5.0:*:*:*:*:*:*:* | 4.5.0 | Vulnerable | WSO2 |
- cpe:2.3:a:wso2:api_control_plane:4.5.0:-:*:*:*:*:*:* Versions 4.5.0 Vulnerable ·WSO2
- cpe:2.3:a:wso2:api_manager:3.2.0:*:*:*:*:*:*:* Versions 3.2.0 Vulnerable ·WSO2
- cpe:2.3:a:wso2:api_manager:3.2.1:*:*:*:*:*:*:* Versions 3.2.1 Vulnerable ·WSO2
- cpe:2.3:a:wso2:api_manager:4.1.0:-:*:*:*:*:*:* Versions 4.1.0 Vulnerable ·WSO2
- cpe:2.3:a:wso2:api_manager:4.2.0:-:*:*:*:*:*:* Versions 4.2.0 Vulnerable ·WSO2
- cpe:2.3:a:wso2:api_manager:4.3.0:-:*:*:*:*:*:* Versions 4.3.0 Vulnerable ·WSO2
- cpe:2.3:a:wso2:api_manager:4.4.0:-:*:*:*:*:*:* Versions 4.4.0 Vulnerable ·WSO2
- cpe:2.3:a:wso2:api_manager:4.5.0:-:*:*:*:*:*:* Versions 4.5.0 Vulnerable ·WSO2
- cpe:2.3:a:wso2:traffic_manager:4.5.0:*:*:*:*:*:*:* Versions 4.5.0 Vulnerable ·WSO2
- cpe:2.3:a:wso2:universal_gateway:4.5.0:*:*:*:*:*:*:* Versions 4.5.0 Vulnerable ·WSO2
Remediation
- Fix · CNA WSO2 API Manager (WSO2) Fixed in 3.2.0.428, 3.2.1.48, 4.1.0.209, 4.2.0.145, 4.3.0.60, 4.4.0.23, 4.5.0.7
- Fix · CNA WSO2 API Control Plane (WSO2) Fixed in 4.5.0.8
- Fix · CNA WSO2 Universal Gateway (WSO2) Fixed in 4.5.0.7
- Fix · CNA WSO2 Traffic Manager (WSO2) Fixed in 4.5.0.7
- Fix · CNA WSO2 Carbon API Management API (WSO2) Fixed in 6.7.206.559, 6.7.210.48, 9.20.74.365, 9.28.116.321, 9.29.120.163, 9.30.67.80, 9.31.86.30, 9.31.117
- Fix · GHSA-cmjc-qp7j-xgwr org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.api (Maven) Fixed in 9.31.117 Advisory →
- Fix · GHSA-cmjc-qp7j-xgwr org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.rest.api.publisher.v1 (Maven) Fixed in 9.31.117 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-4760
- 2026-10-03 Alias added: GHSA-cmjc-qp7j-xgwr
References
Advisory 2
Other 5
- https://github.com/wso2/carbon-apimgt/pull/13099
- https://github.com/wso2/carbon-apimgt/commit/1b3496c072ec68aaaf726996e2caa76f07c1adca
- https://github.com/wso2/carbon-apimgt
- https://mvnrepository.com/artifact/org.wso2.carbon.apimgt/org.wso2.carbon.apimgt.api/9.31.117
- https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2025-4104
More WSO2 Api Control Plane vulnerabilities
- TI-2026-04755 Authentication Bypass via JWT Algorithm Mismatch in Multiple WSO2 Products Allows Account Takeover KEVCVSS 3.1CRITICAL 10.0
- TI-2025-13722 Account Takeover via Conditional Authentication Script Logic in Multiple WSO2 Products CVSS 3.1CRITICAL 9.4
- TI-2025-09712 Potential Broken Access Control in Multiple WSO2 Products via System REST APIs CVSS 3.1CRITICAL 9.8
- TI-2025-08391 Improper Privilege Management in Multiple WSO2 API Manager via keymanager-operations DCR Endpoint CVSS 3.1CRITICAL 9.8
- TI-2026-01411 Privilege Escalation via System REST APIs in Multiple WSO2 Products Permits Admin Account Takeover CVSS 3.1CRITICAL 9.8
- TI-2025-08536 Improper Certificate-Based Authentication Enforcement in Multiple WSO2 Products CVSS 3.1CRITICAL 9.8
Sources
- CVE-2025-4760 · CVE Program
- CVE-2025-4760 · NVD
- FIRST EPSS
- GHSA-cmjc-qp7j-xgwr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences