Unlock enhanced API scanning with Burp Suite Enterprise Edition  –  Learn more

Lab: Stored XSS into HTML context with nothing encoded

APPRENTICE

This lab contains a stored cross-site scripting vulnerability in the comment functionality.

To solve this lab, submit a comment that calls the alert function when the blog post is viewed.

Solution

  1. Enter the following into the comment box:

    <script>alert(1)</script>
  2. Enter a name, email and website.
  3. Click "Post comment".
  4. Go back to the blog.

Community solutions

z3nsh3ll
Michael Sommer