All rules →
Rules / JavaScript / TypeScript
SHIELD-JS-019

XML External Entity (XXE) — entity expansion enabled

highJavaScript / TypeScriptCWE-611CVSS 7.5

What it detects

Parsing XML with noent:true (libxmljs) substitutes external entities, allowing file read / SSRF via a crafted DTD.

How to fix

Parse untrusted XML with noent:false (the default) and without DTD/network loading.

Scan your repo freeFull documentation
Back to all rules
SHIELD-JS-019: XML External Entity (XXE) — entity expansion enabled — Zennoxa Shield