pwncollege
DojosLeaderboardCommunity
Back to web-security~f98637a0

Cross-site Scripting

web-security~f98637a0
0/50 challenges completed

Browsers render HTML, run JavaScript, and parse CSS. When a server drops user input into a page without escaping it, the browser can read that input as markup or script instead of text. Data becomes code.

This is Cross-Site Scripting (XSS). It comes in three flavors:

  • DOM-based (Type 0): the bug lives entirely in client-side JavaScript.
  • Reflected (Type 1): input is echoed straight back in the response.
  • Stored (Type 2): input is saved and served to other users later.

This module walks through how each type shows up and how small input-handling mistakes lead to full client-side compromise.

Reflected XSS

1
A Reflective Start
2
A Crumb in the Reflection
3
Quote Me If You Can
4
Unquoted and Unhinged
5
The Missing Link
6
Click Around and Find Out
7
Source Material
8
Scriptmaxxing
9
Literally Dangerous
10
Objectively Dangerous
11
Wrapped in JSON
12
Frame of Reference
13
Paper Trail
14
Side Effects

Stored XSS

15
Post Haste
16
Cookie Influencer
17
Username Checks Out
18
Publish or Perish
19
Air-Gap Reply
20
Keys to the Kingdom
21
Hanging by a Thread
22
Scalable Vector XSS
23
Blind Spot
24
Reading Between the Lines

DOM XSS

25
Hashing It Out
26
Query Me This
27
Title Fight
28
Data Exposure
29
Message Received

Mutation XSS

Other Resources
30
Table Manners
31
Namespace Invaders

Filters

32
Only You
33
Picture Imperfect
34
Lost in Translation
35
Media Blackout
36
Old Faithful
37
Toggle Off
38
Family Filter
39
No Dress Code
40
The Last Frame
41
No Style Points
42
Shadow Banned
43
Request Denied
44
Wrong Turn
45
DOM and Gloom
46
API Calypse
47
Escape Artist
48
Lost for Words
49
Double Take
50
The Great XSS Filter