All rules →
Rules / C#
SHIELD-CSHARP-009

XXE via unsafe DtdProcessing or XmlResolver

highC#CWE-611CVSS 8.2

What it detects

An XML reader enables DtdProcessing.Parse or assigns an XmlResolver, exposing the parser to XXE attacks.

How to fix

Set DtdProcessing to Prohibit and XmlResolver to null when parsing untrusted XML.

Scan your repo freeFull documentation
Back to all rules
SHIELD-CSHARP-009: XXE via unsafe DtdProcessing or XmlResolver — Zennoxa Shield