Skip to content
Back to skills

Xml Injection

ASecurity

XML injection — tampering XML document structure via unsanitized input (injecting elements/attributes to change logic like price/role/quantity), CDATA smuggling, and as a gateway to XXE. Tier 1. Payloads: payloads/ldap-xpath-xslt.md (XML) → escalates to web-xxe. Use when input is placed into server-side XML.

  • 16 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 17, 2026
securitybackend

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill xml-injection --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Xml Injection?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Xml Injection
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-xml-injection/badge)](https://www.skillsdirectory.com/skills/anandjogawade-xml-injection)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: xml-injection
description: "XML injection — tampering XML document structure via unsanitized input (injecting elements/attributes to change logic like price/role/quantity), CDATA smuggling, and as a gateway to XXE. Tier 1. Payloads: payloads/ldap-xpath-xslt.md (XML) → escalates to web-xxe. Use when input is placed into server-side XML."
---

# XML Injection

Injecting into server-side XML can change document meaning (privilege/price/quantity fields), smuggle content, or open the door to XXE.

## Trigger phrases
`xml injection, xml tampering, element injection, cdata injection, xxe gateway`

## Method
1. **Probe:** inject `<`, `>`, `"`, `'`, `&`, and extra elements/attributes; see if structure changes server-side.
2. **Structure tampering:** close/open tags to inject or overwrite elements (e.g. add `<role>admin</role>`, change `<price>`); test field duplication (last-wins parsing).
3. **CDATA smuggling:** `<![CDATA[<script>…</script>]]>` to bypass filters that render elsewhere.
4. **Escalate to XXE:** add a DOCTYPE/entity → file read/SSRF/OOB (→ `web-xxe`, `${CLAUDE_PLUGIN_ROOT}/payloads/xxe.md`).

## Escalation
Logic tampering (privilege/price), stored-XSS via smuggled markup, or XXE → file read/SSRF/RCE.

## Backend & tooling
Preferred Kali path (native / WSL+Kali / Kali-SSH / Kali-MCP / HexStrike / Metasploit-MCP) or headless browser for client-side; Windows-local last resort. If a Burp MCP is present, route requests through Burp proxy for visibility and send manual PoCs to Repeater (see `zazy-orchestrator`).

## Verification (background, before reporting)
Re-confirm independently (second payload/tool/vantage or OAST callback) and reproduce before marking CONFIRMED. For blind cases use OAST (Collaborator/interactsh) before concluding negative. Report true positives only.

## Evidence
The injected XML, the structural/logic change or XXE result, and the affected endpoint.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.