Apex › Security & web

XXE — XML external entity injection

XML lets a document define entities whose value is pulled from an external file or URL — so a parser that trusts attacker-uploaded XML will read /etc/passwd, fetch internal cloud metadata (SSRF), or blow up on self-referential entities (billion laughs DoS). It hides in SOAP, SAML, SVG, and DOCX uploads. Pick a variant, toggle the parser defenses, and see why disabling DTD processing is the one fix that stops them all.

More in Security & web