davila7 avatar

HTML Injection Testing

This walks you through identifying HTML injection vulnerabilities where attackers can inject malicious HTML into web apps to modify pages, create phishing forms, or steal credentials. It covers the fundamentals: using browser dev tools, Burp Suite or ZAP, and testing payloads with cURL. The skill assumes you know basic HTML and HTTP structure, which is fair since you need to understand what you're injecting and why. It's forked from zebbern/claude-code-guide and sits in a larger template collection with 27.7K stars. Useful for learning the mechanics of HTML injection as distinct from XSS, though Snyk flags the repo so check what's actually in there before running anything in a production context.

GitHub stars
30.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add davila7/claude-code-templates --skill 'HTML Injection Testing' --agent claude-code

Installs into .claude/skills of the current project.

Files

HTML Injection Testing

Purpose

Identify and exploit HTML injection vulnerabilities that allow attackers to inject malicious HTML content into web applications. This vulnerability enables attackers to modify page appearance, create phishing pages, and steal user credentials through injected forms.

Prerequisites

Required Tools

  • Web browser with developer tools
  • Burp Suite or OWASP ZAP
  • Tamper Data or similar proxy
  • cURL for testing payloads

Required Knowledge

  • HTML fundamentals
  • HTTP request/response structure
  • Web application input handling
  • Difference between HTML injection and XSS

Outputs and Deliverables

  1. Vulnerability Report - Identified injection points
  2. Exploitation Proof - Demonstrated content manipulation
  3. Impact Assessment - Potential phishing and defacement risks
  4. Remediation Guidance - Input validation recommendations

Core Workflow

Phase 1: Understanding HTML Injection

HTML injection occurs when user input is reflected in web pages without proper sanitization:

<!-- Vulnerable code example -->
<div>
    Welcome, <?php echo $_GET['name']; ?>
</div>

Sponsors

Details

Repository
github.com/davila7/claude-code-templates
Categories
Frontend Development, Testing & QA
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 618
1kubesphere avatarfrontend-forge-fe-operationskubesphere/kubesphereOperate FrontendExtension (FE) resources in frontend-forge: create, update, rebuild, inspect package artifacts, download packages, publish, unpublish, delete, a0skills.sh installs
2kubesphere avatarfrontend-forge-fi-operationskubesphere/kubesphereOperate FrontendIntegration resources and the frontend-forge extension. Use when Codex needs to create a FrontendIntegration from FrontendIntegration YAML, upda0skills.sh installs
3kubesphere avatarfrontend-integration-yamlkubesphere/kubesphereGenerate canonical FrontendIntegration YAML from a simplified single-menu authoring model for frontend-forge.0skills.sh installs
4longbridge avatargenerate-component-storylongbridge/gpui-componentCreate story examples for components. Use when writing stories, creating examples, or demonstrating component usage.0skills.sh installs
5reactjs avatarreact-expertreactjs/react.devThe react-expert skill enables developers and documentation contributors to research React APIs and concepts by analyzing authoritative...0skills.sh installs
6ruvnet avatarHooks Automationruvnet/rufloAutomated coordination, formatting, and learning from Claude Code operations using intelligent hooks with MCP integration. Includes pre$post task hooks, session0skills.sh installs