hunt-xxe

Detect and exploit XML parser XXE vulnerabilities for file reads and OOB callbacks.

Updated May 31, 2026
One-click install
npx skills add https://github.com/grivera82/pi-bughunter --skill hunt-xxe-grivera82
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hunt-xxe
Source: https://github.com/grivera82/pi-bughunter/tree/main/skills/hunt-xxe
Command: npx skills add https://github.com/grivera82/pi-bughunter --skill hunt-xxe-grivera82

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

XML-based applications frequently expose serious vulnerabilities when XML parsers resolve external entities. This skill bundles known XXE techniques and practical steps to reliably identify exploitable configurations and potential data exposure.

Core Features & Use Cases

  • Catalog of XXE techniques for file read, SSRF, and blind OOB scenarios across common stacks (Java, PHP, .NET, Python).
  • Structured hunting playbooks that guide testers through endpoint discovery, payload selection, and evidence collection.
  • Use cases include reading local files, triggering internal requests, and validating parser hardening in CI/CD pipelines.

Quick Start

Perform a targeted XXE assessment against an XML-processing endpoint to verify if entity expansion occurs and whether it yields a local file read or an OOB callback.

Frequently Asked Questions about hunt-xxe

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test for XXE vulnerabilities in XML parsers?

Testing for XXE vulnerabilities involves injecting external entity payloads into XML endpoints to verify parser resolution, enabling local file reads or blind out-of-band callbacks across SOAP, REST, and OOXML formats.

What is an XML external entity attack and how does it work?

An XML external entity attack exploits XML parsers that resolve external entities, allowing attackers to read local files, trigger SSRF, or exfiltrate data via blind OOB callbacks across web services and APIs ingesting XML.

Can I use XXE payloads to read files in Java, PHP, .NET, and Python applications?

Yes, XXE payloads apply across Java, PHP, .NET, and Python stacks, with a catalog of techniques for file read, SSRF, and blind OOB scenarios tailored to these common application environments.

What's the best way to find blind XXE vulnerabilities in APIs?

The best way to find blind XXE in APIs is using structured hunting playbooks that guide endpoint discovery and payload selection, triggering out-of-band callbacks to confirm entity resolution without direct server responses.

How do I bypass hardened XML parsers that block standard XXE payloads?

To bypass hardened XML parsers, the skill includes fallback techniques for hardened configurations, applying alternative entity expansion probes to verify if parser hardening is fully effective or partially exploitable.

How do I collect evidence for an XXE vulnerability report?

To collect evidence for an XXE report, follow structured hunting playbooks to capture reproducible results from inline probes and OOB callbacks, documenting file reads and SSRF triggers for controlled testing.