PortSwigger Web Security Academy: error-based blind XXE with no exploit server, by loading a DTD already on the server and redefining one of its entities.
Exploiting XXE to Retrieve Data by Repurposing a Local DTD


PortSwigger Web Security Academy: error-based blind XXE with no exploit server, by loading a DTD already on the server and redefining one of its entities.

PortSwigger Web Security Academy: uploading a malicious SVG avatar whose XXE reads /etc/hostname and renders it as text in the processed image.

PortSwigger Web Security Academy: blind XXE with no out-of-band channel, reading /etc/passwd by forcing the parser into an error message that leaks the file.

PortSwigger Web Security Academy: when you only control a value inside a server-built XML document, using XInclude instead of a DTD to read /etc/passwd.

PortSwigger Web Security Academy: blind XXE data exfiltration by hosting a malicious external DTD that reads /etc/hostname and smuggles it out over DNS/HTTP to Burp Collaborator.