{"cve":"CVE-2025-4760","nvd":{"published":"2025-09-23T15:15:31.063","modified":"2026-10-18T21:10:00.120","status":"Analyzed","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.\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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8},"cwes":["CWE-79"],"references":["https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2025-4104/"],"products":["wso2:api_control_plane","wso2:api_manager","wso2:traffic_manager","wso2:universal_gateway"],"source":"nvd","synced_at":"2026-10-19T22:10:08.713834912+00:00"},"epss":{"cve":"CVE-2025-4760","score":0.00188,"percentile":0.08277,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-cmjc-qp7j-xgwr","url":"https://osv.dev/vulnerability/GHSA-cmjc-qp7j-xgwr","summary":"WSO2 carbon-apimgt affected by an authenticated stored cross-site scripting (XSS) vulnerability","modified":"2025-09-27T04:14:05.627299Z","packages":[{"ecosystem":"Maven","name":"org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.api","purl":"pkg:maven/org.wso2.carbon.apimgt/org.wso2.carbon.apimgt.api","ranges":["<9.31.117"],"fixed":["9.31.117"]},{"ecosystem":"Maven","name":"org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.rest.api.publisher.v1","purl":"pkg:maven/org.wso2.carbon.apimgt/org.wso2.carbon.apimgt.rest.api.publisher.v1","ranges":["<9.31.117"],"fixed":["9.31.117"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}