CWE-611 · CWE-611

CWE-611 (Improper Restriction of XML External Entity Reference (XXE)): Code Remediation & Guardrails

Apply fail-closed server-side controls and schema checks for CWE-611 across the XML upload -> Local file read / SSRF trust boundary.

Primary AegisSec skill
owasp-web-audit ->
Companion: zap-api-dast
Coverage ledger tracking key
standard:cwe-611::phase:remediation::skill:owasp-web-audit
ZAP 90023 XML External Entity
Risk boundary
// Boundary risk for CWE-611
// Trust boundary crossed: XML upload -> Local file read / SSRF
Hardened guard
// Phase action (Code Remediation & Guardrails)
// Primary skill: owasp-web-audit | Companion: zap-api-dast

Verification steps

  1. 01Run owasp-web-audit focused on XML upload -> Local file read / SSRF.
  2. 02Pair any dynamic signal (ZAP 90023 XML External Entity) with exact source file:line verification.
  3. 03Promote only proven candidates to confirmed in findings.json and SARIF 2.1.0.