Combine analysis methods around the CWE-611 resource boundary
MITRE identifies automated static analysis, manual source review, dynamic analysis as applicable detection approaches. Use them to inventory every XML parser and transformation entry point, then prove DTDs, external entities, external schemas, XInclude, and network-capable resolvers are disabled for untrusted documents. Require a reproducible trace from attacker influence to the unsafe behavior, record coverage gaps, and confirm suspected findings dynamically where safe; no single technique establishes complete coverage.
CWE-611: detection methods and operational guidance — MITRE CWE