HACKR.GG
Cross-Site Scripting

Cross-Site Scripting (XSS)

Learn how attackers inject malicious scripts into websites and how to find them yourself.

Beginner60 min18 lessons8 hands-on
Start free →I have an account
Free account. No credit card.

You'll be able to

  • ✓Understand how the browser executes injected JavaScript
  • ✓Identify and exploit reflected XSS in URL parameters and form inputs
  • ✓Bypass common client-side filters and basic HTML encoding
  • ✓Steal cookies and explain why XSS leads to account takeover

Lessons

  1. 1How British Airways Lost £20 Million to 22 Lines of Code
  2. 2What is XSS?
  3. 3See it yourself: HTML tags render liveHANDS-ON
  4. 4The <script> tag — when HTML becomes codeHANDS-ON
  5. 5Your Turn: Fire Your First AlertHANDS-ON
  6. 6Stealing cookies with XSSHANDS-ON
  7. 7Tool: XSStrike
  8. 8Reflected XSS — Input That Bounces Back
  9. 9Lab Sim: Steal the Cookie — Reflected XSSHANDS-ON
  10. 10Stored XSS — The Payload That Stays
  11. 11Lab Sim: Zeddit Comment Box — Stored XSSHANDS-ON
  12. 12DOM XSS — The Attack the Server Never Sees
  13. 13Lab Sim: DOM Hash XSS — Client-Side OnlyHANDS-ON
  14. 14Finding XSS in the Wild
  15. 15Context Is Everything
  16. 16Filter Bypass Techniques
  17. 17What Actually Stops XSS
  18. 18Lab: Crapazon — Reflected XSSHANDS-ON
Start free →