In-depth lesson · XXE
Typical fixes
Every point the XXE reports back under this heading, best-backed first, each with the reports it is seen in.
-
Disable external entity resolution and DTD processing in XML parsers.
Seen in 10 reports
-
Do not pass flags that explicitly enable entity substitution, even on PHP 8.
Seen in 2 reports
-
Medium -
$600
-
-
Disable external entity resolution in sitemap parsers.
Seen in 1 report
-
Do not trust client-supplied file type lists; validate file types server-side.
Seen in 1 report
-
Disable external entity expansion and XInclude processing in ImageMagick SVG handling.
Seen in 1 report
-
$1,500 Critical
-
-
Apply access control and output encoding to stored XXE results.
Seen in 1 report
-
Disable external entity resolution in XML parsers used for image metadata.
Seen in 1 report
-
Disable external entities and out-of-band exfiltration in SAML XML parsers.
Seen in 1 report
-
Disable external entity resolution in translate-toolkit when processing uploaded XLF files.
Seen in 1 report
-
Use safe XSLT parsing in text processing libraries.