CWE•Base•Draft•20 recent CVEs
CWE-611Improper Restriction of XML External Entity Reference
Description
The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.
Common consequences
- Confidentiality→Read Application Data,Read Files or DirectoriesIf the attacker is able to include a crafted DTD and a default entity resolver is enabled, the attacker may be able to access arbitrary files on the system. By submitting an XML file that defines an external entity with a file:// URI, an at
- Integrity→Bypass Protection MechanismAn attacker may supply a crafted DTD using URIs with schemes such as http://, forcing the application to make outgoing HTTP requests to servers that the attacker cannot reach directly, which can be used to bypass firewall restrictions; hide
- Availability→DoS: Resource Consumption (CPU),DoS: Resource Consumption (Memory)The product could consume excessive CPU cycles or memory using a URI that points to a large file, or a device that always returns data such as /dev/random. Alternately, the URI could reference a file that contains many nested or recursive e
Potential mitigations
- Implementation,System ConfigurationMany XML parsers and validators can be configured to disable external entity expansion.
Related CWEs
Recent CVEs classified under this CWE
CVE-2026-493833.32026-05-29CVE-2026-22537.72026-05-27CVE-2026-36037.12026-05-26CVE-2026-467222026-05-19CVE-2026-390536.52026-05-15CVE-2026-444456.52026-05-13CVE-2026-418957.52026-05-12CVE-2026-422122026-05-08CVE-2023-423467.52026-05-08CVE-2023-423447.32026-05-08CVE-2026-419368.12026-05-06CVE-2026-384299.82026-05-05CVE-2026-406829.12026-05-04CVE-2026-65012026-05-04CVE-2026-367658.82026-04-30CVE-2025-145439.12026-04-30CVE-2024-139717.52026-04-30CVE-2024-398477.52026-04-30CVE-2026-68075.52026-04-28CVE-2026-410667.52026-04-24