CVE-2025-4760Authenticated Stored Cross-Site Scripting (XSS) in Multiple WSO2 Products via API…
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.
What to do
Fixed builds are available from Maven: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Maven library | org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.api | Fixed | 9.31.117 | GHSA-cmjc-qp7j-xgwr |
| Maven library | org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.rest.api.publisher.v1 | Fixed | 9.31.117 | GHSA-cmjc-qp7j-xgwr |
What the vendor says
As published in the CVE record by WSO2, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- WSO2 API Manager: 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; 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 - WSO2 API Control Plane: affected: 4.5.0 to before 4.5.0.8; fixed in
4.5.0.8 - WSO2 Universal Gateway: affected: 4.5.0 to before 4.5.0.7; fixed in
4.5.0.7 - WSO2 Traffic Manager: affected: 4.5.0 to before 4.5.0.7; fixed in
4.5.0.7 - WSO2 Carbon API Management API: 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; 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
Solution: Follow the instructions given on https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2025-4104/#solution https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2025-4104/#solution
Vendor advisories:
- https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/… (vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.