Authenticated Stored Cross-Site Scripting (XSS) in Multiple WSO2 Products via API Document Upload in Publisher

Summary

CVECVE-2025-4760
StatePUBLISHED
AssignerWSO2
Source PriorityCVE Program / NVD first with legacy fallback
Published2025-09-23 15:15:31 UTC
Updated2026-06-17 09:33:57 UTC
DescriptionAn 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')


VersionSourceTypeScoreSeverityVector
3.1ed10eef1-636d-4fbe-9993-6890dfa878f8Secondary4.8MEDIUMCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
3.1CNACVSS4.8MEDIUMCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS: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)

TypeVendorProductVersionUpdateEditionLanguage
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

SourceVendorProductVersionPlatforms
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

ReferenceSourceLinkTags
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

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report