{"id":"CVE-2025-4760","published":"2025-09-23T14:55:04Z","modified":"2025-09-23T19:58:26Z","title":"Authenticated Stored Cross-Site Scripting (XSS) in Multiple WSO2 Products via API Document Upload in Publisher","vendor":"WSO2","product":"WSO2 API Manager","tier":"tail","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.\n\nA 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00188,"percentile":0.08537,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2025-4104/","tags":["vendor-advisory"]}],"priority":{"score":5.1,"factors":[{"name":"EPSS percentile","points":1.71},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"wso2","affectedVersions":[{"vendor":"WSO2","product":"WSO2 API Manager","versions":[">= 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"]},{"vendor":"WSO2","product":"WSO2 API Control Plane","versions":[">= 4.5.0, < 4.5.0.8"]},{"vendor":"WSO2","product":"WSO2 Universal Gateway","versions":[">= 4.5.0, < 4.5.0.7"]},{"vendor":"WSO2","product":"WSO2 Traffic Manager","versions":[">= 4.5.0, < 4.5.0.7"]},{"vendor":"WSO2","product":"WSO2 Carbon API Management API","versions":[">= 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"]}],"solutions":{"items":["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"],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-09-23T19:58:20.115874Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.api","vulnerableRanges":["<9.31.117"],"patched":["9.31.117"],"from":["GHSA-cmjc-qp7j-xgwr"],"provenance":"source"},{"ecosystem":"Maven","package":"org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.rest.api.publisher.v1","vulnerableRanges":["<9.31.117"],"patched":["9.31.117"],"from":["GHSA-cmjc-qp7j-xgwr"],"provenance":"source"}],"summary":{"text":"A stored cross-site scripting flaw exists in WSO2 API Manager (and other WSO2 products) because user-supplied input in API document uploads through the Publisher portal is not properly validated. An attacker with publisher privileges and a user interacting with the crafted document can run malicious JavaScript in the victim's browser, enabling redirection to malicious sites, unauthorized UI changes, or theft of browser-accessible data, though httpOnly-flagged session cookies remain protected from hijacking.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:20:27Z"},"euvd":{"id":"EUVD-2025-30893","exploited":false,"provenance":"source"}}