xxe-phantom

Detect and exploit XML External Entity vulnerabilities in web applications.

30|6|Updated May 13, 2026
One-click install
npx skills add https://github.com/Rifteo/skills --skill xxe-phantom
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xxe-phantom
Source: https://github.com/Rifteo/skills/tree/main/xxe-phantom
Command: npx skills add https://github.com/Rifteo/skills --skill xxe-phantom

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a comprehensive methodology for detecting and exploiting XML External Entity (XXE) vulnerabilities, empowering users to identify and leverage XXE flaws in their target systems.

Core Features & Use Cases

  • XXE Detection: Triggered by XML content interaction, enabling the identification of XXE vulnerabilities.
  • File Read: Facilitates the reading of local files for local file disclosure and SSRF chaining.
  • Blind OOB Exfiltration: Enables silent data exfiltration without direct server response.
  • WAF Bypass: Offers techniques to bypass Web Application Firewalls.
  • Use Case: If you suspect an XXE vulnerability in a web application, use this Skill to confirm its presence and exploit it to gain sensitive information.

Quick Start

Use the xxe-phantom skill to trigger an XXE on the target server by sending a request with the following XML payload to the endpoint /api/xml:

<?xml version="1.0"?>
<!DOCTYPE root [
  <!ENTITY xxe SYSTEM "file:///etc/passwd">
]>
<root><data>&xxe;</data></root>

Frequently Asked Questions about xxe-phantom

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

FAQPage Schema
How do I test for XXE vulnerabilities in a web application?

Detect XXE vulnerabilities by sending crafted XML payloads to application endpoints and analyzing server responses for external entity processing. If the server parses the entities, it confirms an XML External Entity vulnerability.

How does blind OOB exfiltration work for XXE?

Blind OOB exfiltration in XXE extracts data silently without direct server responses by defining external entities that point to an attacker-controlled server. The server processes the XML and sends the target data to that external endpoint.

Can I use XML payloads to read local files on a target server?

Yes, you can read local files by defining an XML external entity that references local file paths like file:///etc/passwd. If the application parses the entity, it discloses the file content in the response or via out-of-band channels.

What is the best way to bypass a WAF when exploiting XML External Entity flaws?

Bypassing a WAF when exploiting XXE involves modifying XML payloads using encoding techniques, parameter entities, or alternative schema definitions to evade signature filters while still triggering the XML parser to process the external entity.

Does XXE exploitation work for chaining into Server-Side Request Forgery?

Yes, XXE exploitation works for SSRF chaining by defining external entities that reference internal network URLs. When the XML parser processes the entity, it sends server-side requests to internal services, facilitating SSRF.

Why is my XML payload not triggering an external entity on the server?

An XML payload might not trigger an external entity if the server disables external entity resolution in its parser configuration, or if a WAF blocks the payload. Modifying payload encoding or using alternative entity definitions can help bypass these constraints.