CVE-2025-4760
MEDIUM 4.8CVSS 3.1WSO2 carbon-apimgt affected by an authenticated stored cross-site scripting (XSS) vulnerability
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.
- Published
- 23 Sep 2025
- Last modified
- 18 Oct 2026
- Assigned by
- ed10eef1-636d-4fbe-9993-6890dfa878f8
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-cmjc-qp7j-xgwr
- Sources
- NVDJSONOSV GHSA-cmjc-qp7j-xgwrJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | ed10eef1-636d-4fbe-9993-6890dfa878f8 (Secondary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | wso2 | api_control_planecpe:2.3:a:wso2:api_control_plane:4.5.0:-:*:*:*:*:*:* |
= 4.5.0 | |
| NVD | wso2 | api_managercpe:2.3:a:wso2:api_manager:3.2.0:*:*:*:*:*:*:* |
= 3.2.0 | |
| NVD | wso2 | api_managercpe:2.3:a:wso2:api_manager:3.2.1:*:*:*:*:*:*:* |
= 3.2.1 | |
| NVD | wso2 | api_managercpe:2.3:a:wso2:api_manager:4.1.0:-:*:*:*:*:*:* |
= 4.1.0 | |
| NVD | wso2 | api_managercpe:2.3:a:wso2:api_manager:4.2.0:-:*:*:*:*:*:* |
= 4.2.0 | |
| NVD | wso2 | api_managercpe:2.3:a:wso2:api_manager:4.3.0:-:*:*:*:*:*:* |
= 4.3.0 | |
| NVD | wso2 | api_managercpe:2.3:a:wso2:api_manager:4.4.0:-:*:*:*:*:*:* |
= 4.4.0 | |
| NVD | wso2 | api_managercpe:2.3:a:wso2:api_manager:4.5.0:-:*:*:*:*:*:* |
= 4.5.0 | |
| NVD | wso2 | traffic_managercpe:2.3:a:wso2:traffic_manager:4.5.0:*:*:*:*:*:*:* |
= 4.5.0 | |
| NVD | wso2 | universal_gatewaycpe:2.3:a:wso2:universal_gateway:4.5.0:*:*:*:*:*:*:* |
= 4.5.0 | |
| OSV | Maven | org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.api | < 9.31.117 | 9.31.117 |
| OSV | Maven | org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.rest.api.publisher.v1 | < 9.31.117 | 9.31.117 |
References
- https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2025-4104/ · Vendor Advisory, WEB
- 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
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 23 Sep 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 23 Sep 2025)