{"schemaVersion":3,"id":"CVE-2025-4760","aliases":["GHSA-cmjc-qp7j-xgwr"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2025-09-23T14:55:04.917Z","modified":"2025-09-23T19:58:26.062Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.8,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.8,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":4.8,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","exploitability":4.4,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.8,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00188,"percentile":0.07873,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00188},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00188,"percentile":0.07873}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00188,"percentile":0.07873}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"org.wso2.carbon.apimgt","product":"org.wso2.carbon.apimgt.api","name":"org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.api","label":"org.wso2.carbon.apimgt.api","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.wso2.carbon.apimgt/org.wso2.carbon.apimgt.api","purlType":"maven","versions":[{"text":"< 9.31.117","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.31.117","eol":null,"hubHref":null},{"vendor":"org.wso2.carbon.apimgt","product":"org.wso2.carbon.apimgt.rest.api.publisher.v1","name":"org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.rest.api.publisher.v1","label":"org.wso2.carbon.apimgt.rest.api.publisher.v1","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.wso2.carbon.apimgt/org.wso2.carbon.apimgt.rest.api.publisher.v1","purlType":"maven","versions":[{"text":"< 9.31.117","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.31.117","eol":null,"hubHref":null},{"vendor":"wso2","product":"api_control_plane","name":"api control plane","label":"api_control_plane","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.5.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"4.5.0","eol":null,"hubHref":"/vendor/wso2/api_control_plane"},{"vendor":"wso2","product":"api_manager","name":"api manager","label":"api_manager","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"3.2.0","noFixRecorded":false,"fixedIn":null},{"text":"3.2.1","noFixRecorded":false,"fixedIn":null},{"text":"4.1.0","noFixRecorded":false,"fixedIn":null},{"text":"4.2.0","noFixRecorded":false,"fixedIn":null},{"text":"4.3.0","noFixRecorded":false,"fixedIn":null},{"text":"4.4.0","noFixRecorded":false,"fixedIn":null},{"text":"4.5.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"3.2.0 | 3.2.1 | 4.1.0 | 4.2.0 | 4.3.0 | 4.4.0 | 4.5.0","eol":null,"hubHref":"/vendor/wso2/api_manager"},{"vendor":"wso2","product":"traffic_manager","name":"traffic manager","label":"traffic_manager","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.5.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"4.5.0","eol":null,"hubHref":"/vendor/wso2/traffic_manager"},{"vendor":"wso2","product":"universal_gateway","name":"universal gateway","label":"universal_gateway","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.5.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"4.5.0","eol":null,"hubHref":"/vendor/wso2/universal_gateway"},{"vendor":"wso2","product":"wso2 api control plane","name":"WSO2 API Control Plane","label":"wso2 api control plane","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.5.0, < 4.5.0.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.5.0, < 4.5.0.8","eol":null,"hubHref":"/vendor/wso2/wso2_api_control_plane"},{"vendor":"wso2","product":"wso2 api manager","name":"WSO2 API Manager","label":"wso2 api manager","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.2.0, < 3.2.0.428","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.2.1, < 3.2.1.48","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.1.0, < 4.1.0.209","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.2.0, < 4.2.0.145","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.3.0, < 4.3.0.60","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.4.0, < 4.4.0.23","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.5.0, < 4.5.0.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 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","eol":null,"hubHref":"/vendor/wso2/wso2_api_manager"},{"vendor":"wso2","product":"wso2 carbon api management api","name":"WSO2 Carbon API Management API","label":"wso2 carbon api management api","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 6.7.206, < 6.7.206.559","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.7.210, < 6.7.210.48","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.20.74, < 9.20.74.365","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.28.116, < 9.28.116.321","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.29.120, < 9.29.120.163","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.30.67, < 9.30.67.80","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.31.86, < 9.31.86.30","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 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","eol":null,"hubHref":"/vendor/wso2/wso2_carbon_api_management_api"},{"vendor":"wso2","product":"wso2 traffic manager","name":"WSO2 Traffic Manager","label":"wso2 traffic manager","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.5.0, < 4.5.0.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.5.0, < 4.5.0.7","eol":null,"hubHref":"/vendor/wso2/wso2_traffic_manager"},{"vendor":"wso2","product":"wso2 universal gateway","name":"WSO2 Universal Gateway","label":"wso2 universal gateway","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.5.0, < 4.5.0.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.5.0, < 4.5.0.7","eol":null,"hubHref":"/vendor/wso2/wso2_universal_gateway"}],"affectedCount":11,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2025-4104/","label":"security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2025-4104/","hostname":"security.docs.wso2.com","tags":["Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-4760","label":"nvd.nist.gov/vuln/detail/CVE-2025-4760","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/wso2/carbon-apimgt/pull/13099","label":"github.com/wso2/carbon-apimgt/pull/13099","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/wso2/carbon-apimgt/commit/1b3496c072ec68aaaf726996e2caa76f07c1adca","label":"github.com/wso2/carbon-apimgt/commit/1b3496c072ec68aaaf726996e2caa76f07c1adca","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/wso2/carbon-apimgt","label":"github.com/wso2/carbon-apimgt","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://mvnrepository.com/artifact/org.wso2.carbon.apimgt/org.wso2.carbon.apimgt.api/9.31.117","label":"mvnrepository.com/artifact/org.wso2.carbon.apimgt/org.wso2.carbon.apimgt.api/9.31.117","hostname":"mvnrepository.com","tags":["WEB"]},{"url":"https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2025-4104","label":"security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2025-4104","hostname":"security.docs.wso2.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-09-23T14:55:04.917Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-09-23T19:58:26.062Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":19,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T03:22:44.583Z","stale":false,"partial":false}}