This skill should be used when the user asks to "test for XSS vulnerabilities", "perform cross-site scripting attacks", "identify HTML injection flaws", "exploit client-side injection vulnerabilities", "steal cookies via XSS", or "bypass content security policies". It provides comprehensive techniques for detecting, exploiting, and understanding XSS and HTML injection attack vectors in web applications.
Scanned 9/4/2026
Install to Claude Code
npx -y skills add gabrielmoreira/agent-skills-mirror --skill xss-html-injection --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Xss Html Injection?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/gabrielmoreira-xss-html-injection-agent-skills-mirror)More formats (shields.io, HTML) on the badges page.
---
name: Cross-Site Scripting and HTML Injection Testing
description: This skill should be used when the user asks to "test for XSS vulnerabilities", "perform cross-site scripting attacks", "identify HTML injection flaws", "exploit client-side injection vulnerabilities", "steal cookies via XSS", or "bypass content security policies". It provides comprehensive techniques for detecting, exploiting, and understanding XSS and HTML injection attack vectors in web applications.
metadata:
author: zebbern
version: 4.1.0-fractal
---
# Cross-Site Scripting and HTML Injection Testing
## Purpose
Execute comprehensive client-side injection vulnerability assessments on web applications to identify XSS and HTML injection flaws, demonstrate exploitation techniques for session hijacking and credential theft, and validate input sanitization and output encoding mechanisms. This skill enables systematic detection and exploitation across stored, reflected, and DOM-based attack vectors.
## Inputs / Prerequisites
## 🧠 Knowledge Modules (Fractal Skills)
### 1. [Required Access](./sub-skills/required-access.md)
### 2. [Technical Requirements](./sub-skills/technical-requirements.md)
### 3. [Legal Prerequisites](./sub-skills/legal-prerequisites.md)
### 4. [Phase 1: Vulnerability Detection](./sub-skills/phase-1-vulnerability-detection.md)
### 5. [Phase 2: Stored XSS Exploitation](./sub-skills/phase-2-stored-xss-exploitation.md)
### 6. [Phase 3: Reflected XSS Exploitation](./sub-skills/phase-3-reflected-xss-exploitation.md)
### 7. [Phase 4: DOM-Based XSS Exploitation](./sub-skills/phase-4-dom-based-xss-exploitation.md)
### 8. [Phase 5: HTML Injection Techniques](./sub-skills/phase-5-html-injection-techniques.md)
### 9. [Phase 6: Filter Bypass Techniques](./sub-skills/phase-6-filter-bypass-techniques.md)
### 10. [XSS Detection Checklist](./sub-skills/xss-detection-checklist.md)
### 11. [Common XSS Payloads](./sub-skills/common-xss-payloads.md)
### 12. [Cookie Theft Payload](./sub-skills/cookie-theft-payload.md)
### 13. [Session Hijacking Template](./sub-skills/session-hijacking-template.md)
### 14. [Operational Boundaries](./sub-skills/operational-boundaries.md)
### 15. [Technical Limitations](./sub-skills/technical-limitations.md)
### 16. [Legal and Ethical Requirements](./sub-skills/legal-and-ethical-requirements.md)
### 17. [Example 1: Stored XSS in Comment Section](./sub-skills/example-1-stored-xss-in-comment-section.md)
### 18. [Example 2: Reflected XSS via Search Parameter](./sub-skills/example-2-reflected-xss-via-search-parameter.md)
### 19. [Example 3: DOM-Based XSS via Hash Fragment](./sub-skills/example-3-dom-based-xss-via-hash-fragment.md)
### 20. [Example 4: CSP Bypass via JSONP Endpoint](./sub-skills/example-4-csp-bypass-via-jsonp-endpoint.md)

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!