Cross Site Scripting 101
summary
Basic XSS concepts are demonstrated with an actual beginner CTF challenge and a working exploit that reads a server-only flag via client-side JavaScript and exfiltrates it. Steps show escaping out of an attribute, using an image onerror handler to reach JavaScript context, and then an XHR sequence to request the flag and POST it to an attacker-controlled endpoint. Live tools used are web tutorial CTF, RequestBin for capture, CSP Evaluator for policy checks, and a three-step XHR exfiltration payload.
AI-written summary · about
chapters (9)
- 0:00Start
- 2:35Javascript Injection!
- 3:44Contexts
- 4:35Example
- 7:05Reflected XSS
- 9:52XSS mitigations
- 10:51Web Tutorial 1
- 11:31Under the hood
- 13:59Payload demo
related talks
01h 02meXential XSS (Cross Site Scripting)
40mXXSS: Exotic Cross-Site Scripting vectors
33mXXSS: Exotic Cross-Site Scripting vectors
31m360° View of XSS
28mOffensive and Defensive Strategies for Client-Side JS Security
30mXXSS: Exotic Cross Site Scripting Vectors
42mEverything you need to know about client-side malicious code execution
21mXSS — From Simple to Complex!
