xxe-xml-external-entity

Detect, exploit, and mitigate XML External Entity injection vulnerabilities.

120|8|Updated Jun 2, 2026
One-click install
npx skills add https://github.com/Prohao42/aimy-skill --skill xxe-xml-external-entity-prohao42
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xxe-xml-external-entity
Source: https://github.com/Prohao42/aimy-skill/tree/main/ai-mian/hack-skills/skills/xxe-xml-external-entity
Command: npx skills add https://github.com/Prohao42/aimy-skill --skill xxe-xml-external-entity-prohao42

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides expert-level guidance on XML External Entity (XXE) injection attacks and their defenses, helping security professionals identify and mitigate XXE vulnerabilities in applications.

Core Features & Use Cases

  • XXE Attack Techniques: Detailed explanations and examples of XXE attacks across various contexts (SOAP, REST, Office files, SVG, etc.).
  • Blind XXE Detection: Techniques for detecting XXE vulnerabilities that do not directly reflect entity content.
  • XXE-to-SSRF Chains: Combining XXE with SSRF for internal network reconnaissance.
  • Defensive Measures: Strategies for preventing XXE attacks, including parser configuration and input validation.

Quick Start

Load the xxe-xml-external-entity skill to understand XXE exploitation techniques and defenses.

Frequently Asked Questions about xxe-xml-external-entity

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

FAQPage Schema
How do I exploit XML External Entity vulnerabilities in web applications?

XML External Entity exploitation involves injecting malicious entity definitions into XML parsers to read internal files or execute requests. This Skill provides expert-level guidance on detecting and exploiting XXE attacks across contexts like SOAP, REST, and SVG.

What is blind XXE detection and how does it work?

Blind XXE detection identifies vulnerabilities that do not directly reflect entity content in responses. This Skill explains techniques for discovering these hidden XXE flaws by using out-of-band channels to infer entity resolution success.

Can I chain XXE with SSRF for internal network reconnaissance?

Yes, XXE-to-SSRF chains combine XML entity injection with Server-Side Request Forgery to map internal networks. This Skill details how to leverage XXE vulnerabilities to perform internal network reconnaissance via SSRF.

What are the best defensive measures to prevent XXE attacks?

Preventing XXE attacks requires proper XML parser configuration and strict input validation. This Skill outlines defensive strategies, including disabling external entity resolution and DTD processing to secure applications.

Does this XXE guidance cover exploitation of Office files and SVG formats?

Yes, this Skill provides detailed explanations and examples of XXE attacks across various contexts, including Office files, SVG, SOAP, and REST. It covers detection, exploitation, and mitigation strategies for these formats.

Do I need prior knowledge of XML parsing to use this XXE skill?

Yes, understanding XML parsing and network protocols is required to use this Skill effectively. It provides expert-level exploitation and defense techniques that assume foundational knowledge of how XML processors handle entities.