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

- Severity: Medium 4.8 (CVSS:3.1, scored by WSO2) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2025-09-23T14:55:04.917Z
- Modified: 2026-10-18T21:10:00.120Z
- Also known as: GHSA-cmjc-qp7j-xgwr
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: WSO2

## 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.

(As written by CVE List.)

## Affected

- WSO2 WSO2 API Manager: before 3.2.0; from 3.2.0 before 3.2.0.428; from 3.2.1 before 3.2.1.48; from 4.1.0 before 4.1.0.209; from 4.2.0 before 4.2.0.145; from 4.3.0 before 4.3.0.60; from 4.4.0 before 4.4.0.23; from 4.5.0 before 4.5.0.7
- WSO2 WSO2 API Control Plane: from 4.5.0 before 4.5.0.8
- WSO2 WSO2 Universal Gateway: from 4.5.0 before 4.5.0.7
- WSO2 WSO2 Traffic Manager: from 4.5.0 before 4.5.0.7
- org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.api: from 6.7.206 before 6.7.206.559; from 6.7.210 before 6.7.210.48; from 9.20.74 before 9.20.74.365; from 9.28.116 before 9.28.116.321; from 9.29.120 before 9.29.120.163; from 9.30.67 before 9.30.67.80; from 9.31.86 before 9.31.86.30 (not affected: from 9.31.117 up to *)
- org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.api (Maven): before 9.31.117
- org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.rest.api.publisher.v1 (Maven): before 9.31.117
- wso2 api_control_plane: 4.5.0
- wso2 api_manager: 3.2.0; 3.2.1; 4.1.0; 4.2.0; 4.3.0; 4.4.0; 4.5.0
- wso2 traffic_manager: 4.5.0
- wso2 universal_gateway: 4.5.0

## Every score

- WSO2: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2025-4104/> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-4760> (advisory)
- <https://github.com/wso2/carbon-apimgt/pull/13099> (web)
- <https://github.com/wso2/carbon-apimgt/commit/1b3496c072ec68aaaf726996e2caa76f07c1adca> (web)
- <https://github.com/wso2/carbon-apimgt> (package)
- <https://mvnrepository.com/artifact/org.wso2.carbon.apimgt/org.wso2.carbon.apimgt.api/9.31.117> (web)
- <https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2025-4104> (web)

## Sources

- CVE List: [CVE-2025-4760](https://www.cve.org/CVERecord?id=CVE-2025-4760), CVE Terms of Use, modified 2025-09-23
- GitHub Advisory Database: [GHSA-cmjc-qp7j-xgwr](https://github.com/advisories/GHSA-cmjc-qp7j-xgwr), CC-BY-4.0, modified 2025-09-27
- NVD: [CVE-2025-4760](https://nvd.nist.gov/vuln/detail/CVE-2025-4760), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2025-4760 · Whole record: https://cve.day/CVE-2025-4760.json · Rebuilt by cve.day 2026-11-25T22:59:05.048Z
