- What is CWE-611?
- 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.
- What CVEs are caused by CWE-611?
- 564 recorded CVEs are attributed to CWE-611, including CVE-2025-2775, CVE-2024-34102, CVE-2019-9670. 8 are listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.
- How do you prevent CWE-611?
- Many XML parsers and validators can be configured to disable external entity expansion.
- How is CWE-611 detected?
- Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
- What are the consequences of CWE-611?
- Exploiting CWE-611 can lead to: Read Application Data, Read Files or Directories, Bypass Protection Mechanism, DoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory).
- Is CWE-611 actively exploited?
- Yes. 8 CWE-611 vulnerabilities are in CISA's KEV catalog of actively exploited flaws, out of 564 recorded CVEs.