Skip to content

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.

Back to the lesson 1 to 10 of 10
  1. Disable external entity resolution and DTD processing in XML parsers.

    Seen in 10 reports
  2. Do not pass flags that explicitly enable entity substitution, even on PHP 8.

    Seen in 2 reports
  3. Disable external entity resolution in sitemap parsers.

    Seen in 1 report
  4. Do not trust client-supplied file type lists; validate file types server-side.

    Seen in 1 report
  5. Disable external entity expansion and XInclude processing in ImageMagick SVG handling.

    Seen in 1 report
  6. Apply access control and output encoding to stored XXE results.

    Seen in 1 report
  7. Disable external entity resolution in XML parsers used for image metadata.

    Seen in 1 report
  8. Disable external entities and out-of-band exfiltration in SAML XML parsers.

    Seen in 1 report
  9. Disable external entity resolution in translate-toolkit when processing uploaded XLF files.

    Seen in 1 report
  10. Use safe XSLT parsing in text processing libraries.

    Seen in 1 report