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

- Priority: **Routine**
- Reason: Not severe (CVSS 4.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-09-23 · Modified: 2025-09-23
- Aliases: GHSA-cmjc-qp7j-xgwr
- Record: https://cvemate.com/vulnerability/CVE-2025-4760 · JSON: https://cvemate.com/vulnerability/CVE-2025-4760/json

## Description

```text
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.
```

## Signals

- CVSS: 4.8 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.188%, percentile 8.713%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- org.wso2.carbon.apimgt org.wso2.carbon.apimgt.api (Maven): \< 9.31.117
- org.wso2.carbon.apimgt org.wso2.carbon.apimgt.rest.api.publisher.v1 (Maven): \< 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
- wso2 wso2 api control plane: ≥ 4.5.0, \< 4.5.0.8
- wso2 wso2 api manager: ≥ 3.2.0, \< 3.2.0.428 \| ≥ 3.2.1, \< 3.2.1.48 \| ≥ 4.1.0, \< 4.1.0.209 \| ≥ 4.2.0, \< 4.2.0.145 \| ≥ 4.3.0, \< 4.3.0.60 \| ≥ 4.4.0, \< 4.4.0.23 \| ≥ 4.5.0, \< 4.5.0.7
- wso2 wso2 carbon api management api: ≥ 6.7.206, \< 6.7.206.559 \| ≥ 6.7.210, \< 6.7.210.48 \| ≥ 9.20.74, \< 9.20.74.365 \| ≥ 9.28.116, \< 9.28.116.321 \| ≥ 9.29.120, \< 9.29.120.163 \| ≥ 9.30.67, \< 9.30.67.80 \| ≥ 9.31.86, \< 9.31.86.30
- wso2 wso2 traffic manager: ≥ 4.5.0, \< 4.5.0.7
- wso2 wso2 universal gateway: ≥ 4.5.0, \< 4.5.0.7

## References

- <https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2025-4104/>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-4760>
- <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>

---

Data as of 2026-12-05T13:09:27.429Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
