Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CWE-776 (DTD中递归实体索引的不恰当限制(XML实体扩展)) — Vulnerability Class 32

32 vulnerabilities classified as CWE-776 (DTD中递归实体索引的不恰当限制(XML实体扩展)). AI Chinese analysis included.

CWE-776 represents a critical input validation weakness where applications fail to restrict recursive entity references within Document Type Definitions (DTDs). Attackers typically exploit this vulnerability by crafting malicious XML payloads containing deeply nested or circular entity definitions. When the parser processes these structures, it triggers an exponential expansion of data, rapidly consuming available memory and CPU resources. This uncontrolled growth leads to a denial of service, effectively crashing the application or rendering the server unresponsive to legitimate users. To mitigate this risk, developers must implement strict limits on entity expansion depth and disable DTD processing entirely when not required. Utilizing secure XML parsers that enforce resource constraints and validating input against known safe schemas are essential practices for preventing XML entity expansion attacks and ensuring system stability.

MITRE CWE Description
The product uses XML documents and allows their structure to be defined with a Document Type Definition (DTD), but it does not properly control the number of recursive definitions of entities. If the DTD contains a large number of nested or recursive entities, this can lead to explosive growth of data when parsed, causing a denial of service.
Common Consequences (1)
Availability DoS: Resource Consumption (Other)
If parsed, recursive entity references allow the attacker to expand data exponentially, quickly consuming all system resources.
Mitigations (2)
Operation If possible, prohibit the use of DTDs or use an XML parser that limits the expansion of recursive DTD entities.
Implementation Before parsing XML files with associated DTDs, scan for recursive entity declarations and do not continue parsing potentially explosive content.
Examples (1)
The DTD and the very brief XML below illustrate what is meant by an XML bomb. The ZERO entity contains one character, the letter A. The choice of entity name ZERO is being used to indicate length equivalent to that exponent on two, that is, the length of ZERO is 2^0. Similarly, ONE refers to ZERO twice, therefore the XML parser will expand ONE to a length of 2, or 2^1. Ultimately, we reach entity …
<?xml version="1.0"?> <!DOCTYPE MaliciousDTD [ <!ENTITY ZERO "A"> <!ENTITY ONE "&ZERO;&ZERO;"> <!ENTITY TWO "&ONE;&ONE;"> ... <!ENTITY THIRTYTWO "&THIRTYONE;&THIRTYONE;"> ]> <data>&THIRTYTWO;</data>
Attack · XML
CVE ID Title CVSS Severity Published
CVE-2026-73569 fast-xml-parser: Repeated DOCTYPE declarations reset entity expansion limits — fast-xml-parser 8.7 High 2026-08-13
CVE-2026-3415 XML External Entity (XXE) Injection via Schema Validation in Multiple WSO2 Products Allows File Reading and Denial of Service — WSO2 API Manager 8.7 High 2026-08-06
CVE-2026-14865 XXE Denial of Service via RadLayoutBuilder Client State in Telerik UI for ASP.NET AJAX — Telerik UI for ASP.NET AJAX 5.3 Medium 2026-07-22
CVE-2026-14979 IBM Engineering Lifecycle Management - Jazz Foundation is vulnerable to XML Entity Expansion attack — Engineering Lifecycle Management 5.3 Medium 2026-07-17
CVE-2026-45304 Symfony: YAML Parser Exponential Memory Allocation via Recursive Collection-Alias Expansion ("Billion Laughs") — symfony - - 2026-07-14
CVE-2026-12993 Apicurio/apicurio-registry: apicurio-registry: xml entity-expansion denial of service via internal dtd subset — Red Hat build of Apicurio Registry 3 6.5 Medium 2026-06-25
CVE-2026-44020 Docling: Unsafe XML Entity Expansion in USPTO Patent Backend — docling 7.5 High 2026-06-24
CVE-2026-45771 Freeswitch Denial-of-Service in SIP PUBLISH Requests via XML Entity Expansion — freeswitch 7.5 High 2026-06-09
CVE-2026-40260 pypdf: Manipulated XMP metadata entity declarations can exhaust RAM — pypdf 6.5AI Medium AI 2026-04-16
CVE-2026-33036 fast-xml-parser affected by numeric entity expansion bypassing all entity expansion limits (incomplete fix for CVE-2026-26278) — fast-xml-parser 7.5 High 2026-03-20
CVE-2026-29074 SVGO: DoS through entity expansion in DOCTYPE (Billion Laughs) — svgo 7.5 High 2026-03-06
CVE-2026-27807 MarkUs: YAML alias (‘billion laughs’) DoS in config upload — Markus 4.9 Medium 2026-03-06
CVE-2026-26278 fast-xml-parser affected by DoS through entity expansion in DOCTYPE (no expansion limit) — fast-xml-parser 7.5 High 2026-02-19
CVE-2025-20369 Extensible Markup Language (XML) External Entity Injection (XXE) through Dashboard label field on Splunk Enterprise — Splunk Enterprise 4.6 Medium 2025-10-01
CVE-2025-5466 Ivanti多款产品 安全漏洞 — Connect Secure 4.9 Medium 2025-08-12
CVE-2025-3225 XML Entity Expansion vulnerability in run-llama/llama_index — run-llama/llama_index 7.5 - 2025-07-07
CVE-2025-0617 Trellix HX 安全漏洞 — Trellix HX Console 5.9 Medium 2025-01-29
CVE-2024-43398 REXML denial of service vulnerability — rexml 5.9 Medium 2024-08-22
CVE-2024-28982 Hitachi Vantara Pentaho Business Analytics Server - Improper Restriction of XML External Entity Reference — Pentaho Business Analytics Server 7.1 High 2024-06-26
CVE-2024-27142 Pre-authenticated XXE injection — Toshiba Tec e-Studio multi-function peripheral (MFP) 5.9 Medium 2024-06-14
CVE-2024-27141 Pre-authenticated Time-Based Blind XXE injection — Toshiba Tec e-Studio multi-function peripheral (MFP) 5.9 Medium 2024-06-14
CVE-2024-1455 Billion Laughs Attack leading to DoS in langchain-ai/langchain — langchain-ai/langchain 7.5AI High AI 2024-03-26
CVE-2023-3569 PHOENIX CONTACT: Denial-of-Service due to malicious XML files in TC ROUTER, TC CLOUD CLIENT and CLOUD CLIENT — CLOUD CLIENT 1101T-TX/TX 4.9 Medium 2023-08-08
CVE-2023-28118 kaml has potential denial of service while parsing input with anchors and aliases — kaml 7.5 High 2023-03-20
CVE-2022-0217 Prosodical Thoughts Prosody安全漏洞 — prosody 9.1 - 2022-08-26
CVE-2022-34467 Siemens Mendix Excel Importer Module 安全漏洞 — Mendix Excel Importer Module (Mendix 8 compatible) 6.5 - 2022-07-12
CVE-2021-31842 McAfee Endpoint Security 代码问题漏洞 — McAfee Endpoint Security (ENS) for WIndows 5.0 Medium 2021-09-17
CVE-2021-32623 Opencast vulnerable to billion laughs attack (XML bomb) — opencast 8.1 High 2021-06-15
CVE-2021-1267 Cisco Firepower Management Center XML Entity Expansion Vulnerability — Cisco Firepower Management Center 6.5 - 2021-01-13
CVE-2020-5227 Feedgen Vulnerable to XML Denial of Service Attacks — python-feedgen 4.4 Medium 2020-01-28

Vulnerabilities classified as CWE-776 (DTD中递归实体索引的不恰当限制(XML实体扩展)) represent 32 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.