
Xss Cross Site Scripting
This is a practical XSS reference that skips the basics and goes straight to the techniques that catch people off guard. You get context-specific payloads for when reflection lands in HTML attributes, JavaScript strings, or DOM sinks, plus WAF bypass strategies like parameter name injection and encoding chains. The multi-reflection attacks and CSP bypass section using JSONP endpoints or AngularJS CDN whitelists are especially useful for real pentests. It assumes you already know alert(1) and focuses on the stuff base models miss: postMessage origin bypasses, PHP_SELF path injection, and framework-specific vectors. The routing to companion files for mXSS, DOM clobbering, and XS-Leaks is helpful when you need to go deeper without cluttering the main playbook.
- skills.sh installs
- 4.2K
- GitHub stars
- 2.6K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add yaklang/hack-skills --skill xss-cross-site-scripting --agent claude-codeInstalls into .claude/skills of the current project.
Files
SKILL: Cross-Site Scripting (XSS) — Expert Attack Playbook
AI LOAD INSTRUCTION: This skill covers non-obvious XSS techniques, context-specific payload selection, WAF bypass, CSP bypass, and post-exploitation. Assume the reader already knows
<script>alert(1)</script>— this file only covers what base models typically miss. For real-world CVE cases, HttpOnly bypass strategies, XS-Leaks side channels, and session fixation attacks, load the companion SCENARIOS.md.
0. RELATED ROUTING
Extended Scenarios
Also load SCENARIOS.md when you need:
- Django debug page XSS (CVE-2017-12794) — duplicate key error → unescaped exception → XSS
- UTF-7 XSS for legacy IE environments (
+ADw-script+AD4-) - HttpOnly bypass methodology — proxy-the-browser, session riding, CSRF-via-XSS
- XS-Leaks side channel attacks — timing oracle, cache probing,
performance.now()measurement - Session fixation via XSS — pre-set session ID before victim login
- DOM clobbering techniques for CSP-restricted environments
Advanced Tricks
Sponsors
Details
- Repository
- github.com/yaklang/hack-skills
- Categories
- Frontend Development, Security
- First seen
- May 16, 2026
More from yaklang/hack-skills
All 102- Api Sec4.1K
- Business Logic Vulnerabilities4.1K
- Ssrf Server Side Request Forgery4.1K
- Idor Broken Object Authorization4K
- Authbypass Authentication Flaws4K
- Jwt Oauth Token Attacks4K
- Api Recon And Docs4K
- 401 403 Bypass Techniques4K
- Api Auth And Jwt Abuse4K
- Waf Bypass Techniques4K
- Vm And Bytecode Reverse4K
- Websocket Security4K
- Api Authorization And Bola3.9K
- Auth Sec3.9K
- Kubernetes Pentesting3.9K
- Cors Cross Origin Misconfiguration3.9K
- Ios Pentesting Tricks3.9K
- Injection Checking3.9K
- Recon For Sec3.9K
- Llm Prompt Injection3.9K
- Heap Exploitation3.9K
- Csrf Cross Site Request Forgery3.9K
- Business Logic Vuln3.9K
- Traffic Analysis Pcap3.9K