{"answers":{"affected":"2 open source packages ship an affected version, including org.wso2.am:am-distribution-parent. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-2905 in the wild and no public exploit code.","fix":"Upgrade org.wso2.am:am-distribution-parent to 2.1.0 or later.","what":"CVE-2025-2905 is a critical vulnerability in Wso2 Api Manager, published on 5 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-2905 and fix it if it is affected.\n\nWhat it is: CVE-2025-2905 is a critical vulnerability in Wso2 Api Manager, published on 5 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-2905 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.wso2.am:am-distribution-parent (Maven): affected all versions; fixed in 2.1.0\n- org.wso2.am:am-distribution-parent (Maven): affected all versions; fixed in 2.1.0\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-2905/ (Markdown: https://insights.sbomify.com/CVE-2025-2905/index.md)","id":"CVE-2025-2905","markdown":"https://insights.sbomify.com/CVE-2025-2905/index.md","name":"CVE-2025-2905","record":{"aliases":["GHSA-h94w-8qhg-3xmc"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"WSO2 Integration Platform","requires_auth":"none","summary":"Remote unauthenticated attackers can read sensitive files or cause denial of service via XML External Entity injection in WSO2 products.","user_interaction":"not_required","vuln_class":"xxe"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"WSO2","cpe":[{"product":"api_manager","vendor":"wso2"}],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"description":"Due to the improper configuration of XML parser, user-supplied XML is parsed without applying sufficient restrictions, enabling XML External Entity (XXE) resolution in multiple WSO2 Products.\n\nA successful XXE attack could allow a remote, unauthenticated attacker to:\n  *  Read sensitive files from the server’s filesystem.\n  *  Perform denial-of-service (DoS) attacks, which can render the affected service unavailable.","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":"An XML External Entity (XXE) vulnerability in Multiple WSO2 Products","id":"CVE-2025-2905","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"wso2:api_manager","products":["wso2:api_manager"],"type":"xxe","year":"2025"},"n_packages":2,"n_references":1,"next":{"headline":"Contempo Real Estate Core \u003c= 3.6.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode","id":"CVE-2025-2906"},"packages":[{"ecosystem":"Maven","fixed":["2.1.0"],"introduced":["0"],"last_affected":[],"package":"org.wso2.am:am-distribution-parent","purl":null,"source":"GHSA-h94w-8qhg-3xmc"},{"ecosystem":"Maven","fixed":["2.1.0"],"introduced":["0"],"last_affected":[],"package":"org.wso2.am:am-distribution-parent","purl":"pkg:maven/org.wso2.am/am-distribution-parent","source":"GHSA-h94w-8qhg-3xmc"}],"prev":{"headline":"This CVE ID has been rejected or withdrawn by its CVE Numbering Authority.","id":"CVE-2025-2904"},"products":["WSO2 API Manager","WSO2 Enterprise Integrator","WSO2 Enterprise Service Bus","WSO2 Micro integrator","WSO2 Open Banking AM"],"published":"2025-05-05","related":[{"cvss_score":9.8,"headline":"WSO2 Multiple Products Unrestrictive Upload of File","id":"CVE-2022-29464","kev_date_added":"2022-04-25","published":"2022-04-18"},{"cvss_score":9.8,"headline":"Incorrect Authorization in Multiple WSO2 Products via Account Recovery SOAP Admin Service Leading to Account Takeover","id":"CVE-2024-6914","kev_date_added":null,"published":"2025-05-22"},{"cvss_score":9.8,"headline":"WSO2 API Manager vulnerable to SSRF","id":"CVE-2020-13226","kev_date_added":null,"published":"2020-05-20"},{"cvss_score":9.1,"headline":"XML external entity in n/a","id":"CVE-2021-42646","kev_date_added":null,"published":"2022-05-11"},{"cvss_score":9.1,"headline":"XML external entity in n/a","id":"CVE-2020-24589","kev_date_added":null,"published":"2020-08-21"},{"cvss_score":9.1,"headline":"XML external entity in n/a","id":"CVE-2020-24590","kev_date_added":null,"published":"2020-08-21"}],"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":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-16","vendors":["WSO2"]},"summary":"Remote unauthenticated attackers can read sensitive files or cause denial of service via XML External Entity injection in WSO2 products.","url":"https://insights.sbomify.com/CVE-2025-2905/"}