Vulnerability · CWE-611

high severityA05:2021 Security Misconfiguration

XML External Entity Injectionalso known as XXE

XXE abuses weakly configured XML parsers to read local files, reach internal services, or cause denial of service via external entity references.

Impact

Why it matters

Local file disclosure, SSRF, and denial of service.

Detection

How vulnscanners finds it

vulnscanners runs Nuclei templates and OWASP ZAP active scans against authorized targets, and reports XML External Entity Injection findings with severity, the affected endpoint/parameter, and the evidence needed to confirm and fix them.

Remediation

How to fix it

  1. 01Disable external entities and DTD processing in the XML parser.
  2. 02Prefer simpler data formats (JSON) where possible.
  3. 03Patch/upgrade XML libraries.

References

FAQ

What is XML External Entity Injection?

XXE abuses weakly configured XML parsers to read local files, reach internal services, or cause denial of service via external entity references.

How does vulnscanners detect XML External Entity Injection?

vulnscanners runs Nuclei templates and OWASP ZAP active scans against authorized targets, and reports XML External Entity Injection findings with severity, the affected endpoint/parameter, and the evidence needed to confirm and fix them.

How do I fix XML External Entity Injection?

Disable external entities and DTD processing in the XML parser. Prefer simpler data formats (JSON) where possible. Patch/upgrade XML libraries.

How serious is XML External Entity Injection?

Local file disclosure, SSRF, and denial of service.

Related

Scan your target for real.

Point vulnscanners at an authorized domain or IP range and get a severity-ranked report of what's actually exploitable — including XML External Entity Injection. Credits never expire.