In OWASP 2017, A4 XML External Entities (XXE) combines related risk themes across XML External Entities (XXE), Insecure Design. XXE abuses XML parsers to access local files, trigger SSRF, or leak internal data. Insecure design reflects missing security controls in architecture and workflows before implementation. These weaknesses are often exploited as a chain: attackers start with weak input or trust boundaries, pivot through authorization or session gaps, and then move toward data exposure, integrity loss, or service disruption. Operationally, this can increase incident frequency, enlarge blast radius, and raise both remediation cost and compliance exposure when controls are missing or inconsistently enforced across services.
For OWASP 2017 A4 XML External Entities (XXE), apply defense in depth across design, implementation, deployment, and operations rather than relying on a single control. Priority controls include: Disable external entity resolution in XML parsers and use hardened parser configurations by default. Perform threat modeling early, add abuse-case testing, and build security controls into architecture decisions. Treat mitigation as a continuous program: define security requirements up front, enforce them in CI/CD gates, and verify effectiveness with threat modeling, code review, automated testing, and recurring penetration testing. Add monitoring and incident-response readiness so misconfigurations, abuse patterns, and control regressions are detected early and corrected before they become repeatable attack paths.
The same feature written the risky way, then with the fix applied.
How this risk has ranked in each OWASP release.
Rank by release (taller is higher)
2021Latest
#05A05 Security Misconfiguration
↓ Down 1 since 20172017
#04XML External Entities (XXE)