{"id":"CVE-2025-2905","aliases":["CVE-2025-2905","GHSA-h94w-8qhg-3xmc"],"related":[],"kind":"vulnerability","state":"published","title":"An XML External Entity (XXE) vulnerability in Multiple WSO2 Products","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"An XML External Entity (XXE) vulnerability exists in the gateway component of WSO2 API Manager due to insufficient validation of XML input in crafted URL paths. User-supplied XML is parsed without appropriate restrictions, enabling external entity resolution.\n\nThis vulnerability can be exploited by an unauthenticated remote attacker to read files from the server’s filesystem or perform denial-of-service (DoS) attacks.\n\n  *  On systems running JDK 7 or early JDK 8, full file contents may be exposed.\n\n  *  On later versions of JDK 8 and newer, only the first line of a file may be read, due to improvements in XML parser behavior.\n\n  *  DoS attacks such as \"Billion Laughs\" payloads can cause service disruption.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Existe una vulnerabilidad de Entidad Externa XML (XXE) en el componente de puerta de enlace de WSO2 API Manager debido a una validación insuficiente de la entrada XML en rutas URL manipulada. El XML proporcionado por el usuario se analiza sin las restricciones adecuadas, lo que permite la resolución de entidades externas. Esta vulnerabilidad puede ser explotada por un atacante remoto no autenticado para leer archivos del sistema de archivos del servidor o realizar ataques de denegación de servicio (DoS). * En sistemas con JDK 7 o versiones anteriores de JDK 8, el contenido completo de los archivos puede quedar expuesto. * En versiones posteriores de JDK 8 y posteriores, solo se puede leer la primera línea de un archivo, gracias a mejoras en el comportamiento del analizador XML. * Los ataques DoS, como los payloads \"Billion Laughs\", pueden causar interrupciones del servicio.","source":"nvd"}],"published":"2025-05-05T09:02:01.489Z","modified":"2026-06-17T09:07:49.440Z","severity":{"scorer":"WSO2","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"WSO2","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-611"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"2.0.0","status":"affected"},{"type":"custom","version":"2.1.0","status":"affected"},{"type":"custom","version":"2.2.0","status":"affected"},{"type":"custom","version":"2.5.0","status":"affected"},{"type":"custom","version":"2.6.0","status":"affected"},{"type":"custom","version":"3.0.0","status":"affected"},{"type":"custom","version":"3.1.0","status":"affected"},{"type":"custom","introduced":"4.0.0","fixed":"4.0.0.311","status":"affected"},{"type":"custom","introduced":"4.1.0","fixed":"4.1.0.152","status":"affected"},{"type":"custom","introduced":"4.2.0","fixed":"4.2.0.122","status":"affected"}],"vendor":"WSO2","product":"WSO2 API Manager","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"6.0.0","status":"unknown"},{"type":"custom","version":"6.0.0","status":"affected"},{"type":"custom","version":"6.1.0","status":"affected"},{"type":"custom","version":"6.1.1","status":"affected"},{"type":"custom","version":"6.2.0","status":"affected"},{"type":"custom","version":"6.3.0","status":"affected"},{"type":"custom","version":"6.4.0","status":"affected"},{"type":"custom","version":"6.5.0","status":"affected"},{"type":"custom","version":"6.6.0","status":"affected"}],"vendor":"WSO2","product":"WSO2 Enterprise Integrator","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"4.9.0","status":"unknown"},{"type":"custom","version":"4.9.0","status":"affected"},{"type":"custom","version":"5.0.0","status":"affected"}],"vendor":"WSO2","product":"WSO2 Enterprise Service Bus","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"1.0.0","status":"unknown"},{"type":"custom","version":"1.0.0","status":"affected"},{"type":"custom","version":"1.1.0","status":"affected"},{"type":"custom","introduced":"1.2.0","fixed":"1.2.0.162","status":"affected"},{"type":"custom","introduced":"4.0.0","fixed":"4.0.0.132","status":"affected"},{"type":"custom","introduced":"4.1.0","fixed":"4.1.0.115","status":"affected"},{"type":"custom","introduced":"4.2.0","fixed":"4.2.0.112","status":"affected"}],"vendor":"WSO2","product":"WSO2 Micro integrator","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"1.5.0","status":"unknown"},{"type":"custom","version":"1.5.0","status":"affected"}],"vendor":"WSO2","product":"WSO2 Open Banking AM","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.1.0"}],"ecosystem":"Maven","package":"org.wso2.am:am-distribution-parent","purl":"pkg:maven/org.wso2.am/am-distribution-parent","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"2.0.0"}],"vendor":"wso2","product":"api_manager","cpe":"cpe:2.3:a:wso2:api_manager:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2025-3993/","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-2905","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/wso2/product-apim","tags":["package"],"sources":["ghsa"]},{"url":"https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2025-3993","tags":["web"],"sources":["ghsa"]}],"credits":["crnkovic"],"assigner":"WSO2","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2025-05-05T12:44:33.257Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-2905","url":"https://www.cve.org/CVERecord?id=CVE-2025-2905","licence":"CVE Terms of Use","modified":"2025-10-16T11:39:21.741Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-h94w-8qhg-3xmc","url":"https://github.com/advisories/GHSA-h94w-8qhg-3xmc","licence":"CC-BY-4.0","modified":"2025-05-05T20:42:09.307Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-2905","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-2905","licence":"Public domain","modified":"2026-06-17T09:07:49.440Z"}],"updatedAt":"2026-11-25T22:58:57.580Z","epss":{"score":0.01343,"percentile":0.72174,"date":"2026-12-01T12:00:22.000Z"}}