Authenticated Stored Cross-Site Scripting (XSS) in Multiple WSO2 Products via API Document Upload in Publisher
Summary
| CVE | CVE-2025-4760 |
|---|---|
| State | PUBLISHED |
| Assigner | WSO2 |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-09-23 15:15:31 UTC |
| Updated | 2026-06-17 09:33:57 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 4.8 MEDIUM from ed10eef1-636d-4fbe-9993-6890dfa878f8
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
EPSS: 0.001880000 probability, percentile 0.078010000 (date 2026-10-18)
Problem Types: CWE-79 | CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | ed10eef1-636d-4fbe-9993-6890dfa878f8 | Secondary | 4.8 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| 3.1 | CNA | CVSS | 4.8 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
HighUser Interaction
RequiredScope
ChangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Wso2 | Api Control Plane | 4.5.0 | - | All | All |
| Application | Wso2 | Api Manager | 3.2.0 | All | All | All |
| Application | Wso2 | Api Manager | 3.2.1 | All | All | All |
| Application | Wso2 | Api Manager | 4.1.0 | - | All | All |
| Application | Wso2 | Api Manager | 4.2.0 | - | All | All |
| Application | Wso2 | Api Manager | 4.3.0 | - | All | All |
| Application | Wso2 | Api Manager | 4.4.0 | - | All | All |
| Application | Wso2 | Api Manager | 4.5.0 | - | All | All |
| Application | Wso2 | Traffic Manager | 4.5.0 | All | All | All |
| Application | Wso2 | Universal Gateway | 4.5.0 | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | WSO2 | WSO2 API Manager | unknown 3.2.0 custom | Not specified |
| CNA | WSO2 | WSO2 API Manager | affected 3.2.0 3.2.0.428 custom | Not specified |
| CNA | WSO2 | WSO2 API Manager | affected 3.2.1 3.2.1.48 custom | Not specified |
| CNA | WSO2 | WSO2 API Manager | affected 4.1.0 4.1.0.209 custom | Not specified |
| CNA | WSO2 | WSO2 API Manager | affected 4.2.0 4.2.0.145 custom | Not specified |
| CNA | WSO2 | WSO2 API Manager | affected 4.3.0 4.3.0.60 custom | Not specified |
| CNA | WSO2 | WSO2 API Manager | affected 4.4.0 4.4.0.23 custom | Not specified |
| CNA | WSO2 | WSO2 API Manager | affected 4.5.0 4.5.0.7 custom | Not specified |
| CNA | WSO2 | WSO2 API Control Plane | affected 4.5.0 4.5.0.8 custom | Not specified |
| CNA | WSO2 | WSO2 Universal Gateway | affected 4.5.0 4.5.0.7 custom | Not specified |
| CNA | WSO2 | WSO2 Traffic Manager | affected 4.5.0 4.5.0.7 custom | Not specified |
| CNA | WSO2 | WSO2 Carbon API Management API | affected 6.7.206 6.7.206.559 custom | Not specified |
| CNA | WSO2 | WSO2 Carbon API Management API | affected 6.7.210 6.7.210.48 custom | Not specified |
| CNA | WSO2 | WSO2 Carbon API Management API | affected 9.20.74 9.20.74.365 custom | Not specified |
| CNA | WSO2 | WSO2 Carbon API Management API | affected 9.28.116 9.28.116.321 custom | Not specified |
| CNA | WSO2 | WSO2 Carbon API Management API | affected 9.29.120 9.29.120.163 custom | Not specified |
| CNA | WSO2 | WSO2 Carbon API Management API | affected 9.30.67 9.30.67.80 custom | Not specified |
| CNA | WSO2 | WSO2 Carbon API Management API | affected 9.31.86 9.31.86.30 custom | Not specified |
| CNA | WSO2 | WSO2 Carbon API Management API | unaffected 9.31.117 * custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO... | ed10eef1-636d-4fbe-9993-6890dfa878f8 | security.docs.wso2.com | Vendor Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Phạm Hồ Anh Dũng (en)
Additional Advisory Data
Solutions
CNA: 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
There are currently no legacy QID mappings associated with this CVE.