CVE-2025-4760 json
Authenticated Stored Cross-Site Scripting (XSS) in Multiple WSO2 Products via API Document Upload in Publisher
published 2025-09-23 13 mo ago modified 2026-10-18 21 d ago also GHSA-cmjc-qp7j-xgwr , EUVD-2025-30893
- cvss
- 4.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 8%
- public exploits
- 0
- none known
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.
Patch / fix
- maven org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.api 9.31.117
- maven org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.rest.api.publisher.v1 9.31.117
- WSO2 WSO2 API Manager 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
- WSO2 WSO2 API Control Plane 4.5.0.8
- WSO2 WSO2 Universal Gateway 4.5.0.7
- WSO2 WSO2 Traffic Manager 4.5.0.7
- WSO2 WSO2 Carbon API Management API 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
- github.com/wso2/carbon-apimgt@1b3496c commit
- github.com/wso2/carbon-apimgt#13099 pull request
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 13 mo ago
Exploit prediction
0.19% chance of exploitation in the next 30 days, higher than 8% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.api | <9.31.117 |
9.31.117 |
| maven | org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.rest.api.publisher.v1 | <9.31.117 |
9.31.117 |
Affected products
- WSO2 WSO2 API Manager
- WSO2 WSO2 API Control Plane
- WSO2 WSO2 Universal Gateway
- WSO2 WSO2 Traffic Manager
- WSO2 WSO2 Carbon API Management API
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/wso2/carbon-apimgt/pull/13099
web
-
github.com
/wso2/carbon-apimgt/commit/1b3496c072ec68aaaf726996e2caa76f07c1adca
web
-
security.docs.wso2.com
/en/latest/security-announcements/security-advisories/2025/WSO2-2025-4104/
vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-4760
advisory
-
github.com
/wso2/carbon-apimgt
package
-
mvnrepository.com
/artifact/org.wso2.carbon.apimgt/org.wso2.carbon.apimgt.api/9.31.117
web
-
security.docs.wso2.com
/en/latest/security-announcements/security-advisories/2025/WSO2-2025-4104
web
Sources
- CVE List CVE-2025-4760
- GitHub Advisory GHSA-cmjc-qp7j-xgwr
- NVD CVE-2025-4760
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.