Skill / SKILL.md

Dom Xss

Security-Talent/bugskill-ai

DOM-based XSS occurs when JavaScript reads attacker-controlled sources (`location.hash`, `document.referrer`, `window.name`, `location.search`) and passes them to dangerous sinks (`document.write`, `innerHTML`, `eval`, `location.href`, `setTimeout`, `jQuery.html()`) without sanitization. Unlike reflected/stored XSS, payloads never reach the server. Detect by auditing JavaScript for tainted data flow from DOM sources to sinks. Tools: Burp Suite DOM Invader, Chrome DevTools, DOMPurify (fix).
2 views 15 repository stars 0 commentsUpdated Nov 27, 2026
Overview

DOM-based XSS occurs when JavaScript reads attacker-controlled sources (`location.hash`, `document.referrer`, `window.name`, `location.search`) and passes them to dangerous sinks (`document.write`, `innerHTML`, `eval`, `location.href`, `setTimeout`, `jQuery.html()`) without sanitization. Unlike reflected/stored XSS, payloads never reach the server. Detect by auditing JavaScript for tainted data flow from DOM sources to sinks. Tools: Burp Suite DOM Invader, Chrome DevTools, DOMPurify (fix).

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/Security-Talent/bugskill-ai' skill-source

Use the complete skill-source/Awesome-Claude-Code-Agent-Skills/02-Web-Application-Security/dom-xss directory with your client’s skill installer.

  • Awesome-Claude-Code-Agent-Skills/02-Web-Application-Security/dom-xss

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory Awesome-Claude-Code-Agent-Skills/02-Web-Application-Security/dom-xss

Compatibility & requirements

Declared compatibility

Designed for Claude Code. Requires Burp Suite with DOM Invader, or manual JavaScript review via browser DevTools.

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
1a9284ac2110cb997e0831e933b9ad2aa3c978347c71d53bbc153473c736bc52
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills