{"answers":{"affected":"4 open source packages ship an affected version, including org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.api and org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.rest.api.publisher.v1. It affects 4 products.","exploited":"There is no known exploitation of CVE-2025-4760 in the wild and no public exploit code.","fix":"Upgrade org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.api to 9.31.117 or later.","what":"CVE-2025-4760 is a medium-severity cross-site scripting vulnerability in Wso2 Api Manager, published on 23 Sep 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-4760 and fix it if it is affected.\n\nWhat it is: CVE-2025-4760 is a medium-severity cross-site scripting vulnerability in Wso2 Api Manager, published on 23 Sep 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-4760 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.api (Maven): affected all versions; fixed in 9.31.117\n- org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.api (Maven): affected all versions; fixed in 9.31.117\n- org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.rest.api.publisher.v1 (Maven): affected all versions; fixed in 9.31.117\n- org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.rest.api.publisher.v1 (Maven): affected all versions; fixed in 9.31.117\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-4760/ (Markdown: https://insights.sbomify.com/CVE-2025-4760/index.md)","id":"CVE-2025-4760","markdown":"https://insights.sbomify.com/CVE-2025-4760/index.md","name":"CVE-2025-4760","record":{"aliases":["GHSA-cmjc-qp7j-xgwr"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"WSO2 API Manager","requires_auth":"high_privilege","summary":"Authenticated users can inject malicious scripts via API document uploads, leading to data exfiltration or UI manipulation in WSO2 products.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"WSO2","cpe":[{"product":"api_control_plane","vendor":"wso2"},{"product":"api_manager","vendor":"wso2"},{"product":"traffic_manager","vendor":"wso2"},{"product":"universal_gateway","vendor":"wso2"}],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Authenticated Stored Cross-Site Scripting (XSS) in Multiple WSO2 Products via API Document Upload in Publisher","id":"CVE-2025-4760","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"wso2:api_manager","products":["wso2:api_manager"],"type":"xss","year":"2025"},"n_packages":4,"n_references":1,"next":{"headline":"PHPGurukul Complaint Management System admin-profile.php sql injection","id":"CVE-2025-4761"},"packages":[{"ecosystem":"Maven","fixed":["9.31.117"],"introduced":["0"],"last_affected":[],"package":"org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.api","purl":null,"source":"GHSA-cmjc-qp7j-xgwr"},{"ecosystem":"Maven","fixed":["9.31.117"],"introduced":["0"],"last_affected":[],"package":"org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.api","purl":"pkg:maven/org.wso2.carbon.apimgt/org.wso2.carbon.apimgt.api","source":"GHSA-cmjc-qp7j-xgwr"},{"ecosystem":"Maven","fixed":["9.31.117"],"introduced":["0"],"last_affected":[],"package":"org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.rest.api.publisher.v1","purl":null,"source":"GHSA-cmjc-qp7j-xgwr"},{"ecosystem":"Maven","fixed":["9.31.117"],"introduced":["0"],"last_affected":[],"package":"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","source":"GHSA-cmjc-qp7j-xgwr"}],"prev":{"headline":"lockfile-lint-api Vulnerable to Incorrect Behavior Order","id":"CVE-2025-4759"},"products":["WSO2 API Control Plane","WSO2 API Manager","WSO2 Carbon API Management API","WSO2 Traffic Manager","WSO2 Universal Gateway"],"published":"2025-09-23","related":[{"cvss_score":10,"headline":"WSO2 Multiple Products Path Traversal Vulnerability","id":"CVE-2026-5430","kev_date_added":"2026-09-24","published":"2026-08-06"},{"cvss_score":9.8,"headline":"Privilege Escalation via System REST APIs in Multiple WSO2 Products Permits Admin Account Takeover","id":"CVE-2026-1728","kev_date_added":null,"published":"2026-08-06"},{"cvss_score":9.8,"headline":"Improper Certificate-Based Authentication Enforcement in Multiple WSO2 Products","id":"CVE-2025-9312","kev_date_added":null,"published":"2025-11-18"},{"cvss_score":9.8,"headline":"Potential Broken Access Control in Multiple WSO2 Products via System REST APIs","id":"CVE-2025-10611","kev_date_added":null,"published":"2025-10-16"},{"cvss_score":9.8,"headline":"Improper Privilege Management in Multiple WSO2 API Manager via keymanager-operations DCR Endpoint","id":"CVE-2025-9152","kev_date_added":null,"published":"2025-10-16"},{"cvss_score":9.6,"headline":"Improper Access Control in Multiple WSO2 Products via Internal SOAP Admin Services and System REST APIs","id":"CVE-2025-9804","kev_date_added":null,"published":"2025-10-16"},{"cvss_score":9.4,"headline":"Account Takeover via Conditional Authentication Script Logic in Multiple WSO2 Products","id":"CVE-2025-15039","kev_date_added":null,"published":"2026-08-06"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-09-23","vendors":["WSO2"]},"summary":"Authenticated users can inject malicious scripts via API document uploads, leading to data exfiltration or UI manipulation in WSO2 products.","url":"https://insights.sbomify.com/CVE-2025-4760/"}