Aplicaciones web · CWE-611
Entidades externas de XML (XXE)
El programa procesa XML con las entidades externas activadas, y un documento malicioso le hace leer archivos del servidor, hacer peticiones internas o agotar su memoria.
1.510 vulnerabilidades publicadas de este tipo, 9 de ellas explotadas activamente según CISA.
Cómo funciona
XML permite declarar «entidades» que apuntan a un archivo o a una URL. Si el lector de XML las resuelve, un atacante envía un documento que pide, por ejemplo, file:///etc/passwd y la aplicación devuelve su contenido. Una variante con entidades anidadas («mil millones de risas») consume toda la memoria.
Dónde aparece
API SOAP y XML, importación de documentos (Office, SVG, RSS), integraciones SAML de inicio de sesión.
Cómo se corrige
- Desactivar DTD y entidades externas en el lector de XML; en muchas bibliotecas es una sola opción.
- Usar JSON cuando no haga falta XML.
- Mantener actualizadas las bibliotecas de XML.
Qué evitar
- Dejar la configuración por defecto del lector de XML sin revisarla: en varios lenguajes es insegura.
Explotadas de este tipo
- CVE-2026-20320Alta7.5 ExplotadaPrioridad urgenteEPSS 1,3 %10 de nov de 2026
XXE en Cisco BroadWorks
A vulnerability in the Open Client Interface (OCI) XML Parser of Cisco BroadWorks could allow an unauthenticated, remote attacker to read sensitive configuration information on an affected system. This vulnerability exists because XML entries are improperly parsed due to external entity resolution being allowed by default. An attacker could exploit this vulnerability by sending a crafted XML message to the Open Client Interface – Provisioning (OCI-P) service. A successful exploit could allow the attacker to view sensitive files from the filesystem with the privileges of the Cisco BroadWorks user.
- CVE-2025-58360Crítica9.8 ExplotadaPrioridad urgenteEPSS 11 %11 de dic de 2025
XXE en geoserver
GeoServer is an open source server that allows users to share and edit geospatial data. From version 2.26.0 to before 2.26.2 and before 2.25.6, an XML External Entity (XXE) vulnerability was identified. The application accepts XML input through a specific endpoint /geoserver/wms operation GetMap. However, this input is not sufficiently sanitized or restricted, allowing an attacker to define external entities within the XML request. This issue has been patched in GeoServer 2.25.6, GeoServer 2.26.3, and GeoServer 2.27.0.
- CVE-2025-2776Crítica9.8 ExplotadaPrioridad urgenteEPSS 26 %22 de jul de 2025
XXE en SysAid On-Prem
SysAid On-Prem versions <= 23.3.40 are vulnerable to an unauthenticated XML External Entity (XXE) vulnerability in the Server URL processing functionality, allowing for administrator account takeover and file read primitives.
- CVE-2025-2775Alta7.5 ExplotadaPrioridad urgenteEPSS 17 %22 de jul de 2025
XXE en SysAid On-Prem
SysAid On-Prem versions <= 23.3.40 are vulnerable to an unauthenticated XML External Entity (XXE) vulnerability in the Checkin processing functionality, allowing for administrator account takeover and file read primitives.
- CVE-2023-45727Alta7.5 ExplotadaPrioridad urgenteEPSS 1,8 %3 de dic de 2024
XXE en Proself Enterprise/Standard Edition
Proself Enterprise/Standard Edition Ver5.62 and earlier, Proself Gateway Edition Ver1.65 and earlier, and Proself Mail Sanitize Edition Ver1.08 and earlier allow a remote unauthenticated attacker to conduct XML External Entity (XXE) attacks. By processing a specially crafted request containing malformed XML data, arbitrary files on the server containing account information may be read by the attacker.
- CVE-2024-34102Crítica9.8 ExplotadaPrioridad urgenteEPSS 93 %17 de jul de 2024
XXE en Adobe Commerce
Adobe Commerce versions 2.4.7, 2.4.6-p5, 2.4.5-p7, 2.4.4-p8 and earlier are affected by an Improper Restriction of XML External Entity Reference ('XXE') vulnerability that could result in arbitrary code execution. An attacker could exploit this vulnerability by sending a crafted XML document that references external entities. Exploitation of this issue does not require user interaction.
Publicadas recientemente
- CVE-2017-20291Alta8.7Prioridad altaEPSS 0,85 %26 de nov de 2026
XXE en SiteMinder
An XML External Entity (XXE) injection vulnerability in the Federation Web Services component (/affwebservices/router/session and /affwebservices/router/notification) of Broadcom SiteMinder (CA Single Sign-On) Secure Proxy Server / Access Gateway R12.52 SP1 prior to R12.52 SP1 CR6 allows a remote attacker to submit crafted SOAP requests to the exposed Apache-SOAP RPC Router servlet (org.apache.soap.server.http.RPCRouterServlet). Successful exploitation could result in unauthorized disclosure of local files or sensitive data, server-side request forgery (SSRF), or denial of service. The issue is resolved in R12.52 SP1 CR6 (and does not affect R12.8 or R12.9) by removing the router servlet mapping so requests to the endpoint return HTTP 404
- CVE-2026-136836Alta7.1Prioridad altaEPSS 0,70 %25 de nov de 2026
XXE en Jenkins Gradle Plugin
Jenkins Gradle Plugin 2.21.1282.v024680ce00a_b_ and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks when processing Maven extension configuration files from build workspaces.
- CVE-2026-80294Media5.5Prioridad mediaEPSS 0,64 %25 de nov de 2026
XXE en Secure Connect Gateway
Dell Secure Connect Gateway (SCG) Virtual Edition, versions prior to 5.36.00.16, contains an Improper Restriction of XML External Entity Reference vulnerability. A low privileged attacker with local access could potentially exploit this vulnerability, leading to command execution.
- CVE-2026-119443Media6.9Prioridad mediaEPSS 0,25 %24 de nov de 2026
XXE en OTP
Improper Restriction of XML External Entity Reference vulnerability in xmerl_scan in Erlang OTP xmerl allows an attacker to exhaust the memory of the Erlang VM via an XML document that names an external DTD. With default options, xmerl_scan:string/1,2 and xmerl_scan:file/1,2 fetch and parse the external DTD named in a <!DOCTYPE root SYSTEM "..."> declaration. fetch_DTD/2 in lib/xmerl/src/xmerl_scan.erl passes every system identifier to the default fetch function, which maps file: and absolute URIs to local paths, and int_file_decl/3 then reads the whole file with file:read_file/1. This happens whether or not validation is enabled, and the allow_entities option, which is false by default since OTP 27, only governs <!ENTITY> declarations and does not stop the fetch. A document naming file:///dev/zero makes the node read without bound until the operating system kills it for lack of memory, and the parse never returns. This issue affects OTP from OTP 17.0 before OTP 27.3.4.20, OTP 28.5.0.9, and OTP 29.1.3, corresponding to xmerl from 1.3.7 before 2.1.3.4, 2.1.9.1, and 2.2.1. Whether OTP before OTP 17.0, corresponding to xmerl before 1.3.7, is affected is unknown.
- CVE-2026-134044Media5.5Prioridad mediaEPSS 0,24 %20 de nov de 2026
XXE en ROS 2
Open Robotics ROS 2 sros2 load_policy XML External Entity Processing Information Disclosure Vulnerability. This vulnerability allows remote attackers to disclose sensitive information on affected installations of Open Robotics ROS 2. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of policy XML files. Due to the improper restriction of XML External Entity (XXE) references, a crafted document specifying a URI causes the XML parser to access the URI and embed the contents back into the XML document for further processing. An attacker can leverage this in conjunction with other vulnerabilities to execute arbitrary code in the context of the current user. Was ZDI-CAN-32121.
- CVE-2026-132275Alta7.5Prioridad altaEPSS 0,61 %20 de nov de 2026
XXE en svglib
svglib reads SVG files and converts them to other formats. Prior to 2.3.1, the svg2rlg() renderer recursively expands nested SVG <use> references by deep-copying each referenced subtree; SvgRenderer.renderUse() in src/svglib/svglib.py calls xlink_href_target(), which rejects direct cycles but permits acyclic reference graphs with repeated fan-out. A small attacker-controlled SVG can therefore trigger exponentially increasing node expansion, consuming excessive CPU and memory in any application that renders it without a non-default option; HTML-to-PDF workflows using xhtml2pdf can reach the same renderer when an embedded data:image/svg+xml image in an HTML img element is passed to pisa.CreatePDF(). This issue is fixed in 2.3.1.
- CVE-2026-129015Alta7.5Prioridad altaEPSS 0,44 %20 de nov de 2026
XXE en ReviewX
Improper Restriction of XML External Entity Reference vulnerability in ReviewX ReviewX reviewx allows XML Entity Linking.This issue affects ReviewX: from n/a through 3.0.1.
- CVE-2026-131299Alta7.5Prioridad altaEPSS 0,41 %19 de nov de 2026
XXE en Splunk App for Stream
In Splunk App for Stream versions below 8.1.7, an unauthenticated user who can reach the Splunk App for Stream Representational State Transfer (REST) API on the management port (8089) could upload an Extensible Markup Language (XML) vocabulary file, which lets the vocabulary upload endpoint read local files accessible to the Splunk process or send outbound requests. The vulnerability is possible because the vocabulary upload endpoint parses uploaded XML without an application-level policy that blocks external entity resolution. For more information see About Splunk Stream (https://help.splunk.com/en/splunk-enterprise/collect-stream-data/install-and-configure-splunk-stream/8.1/introduction/about-splunk-stream) and restmap.conf (https://help.splunk.com/en/splunk-enterprise/administer/admin-manual/9.4/configuration-file-reference/9.4.3-configuration-file-reference/restmap.conf) in the Splunk documentation.