Skip to content

Instantly share code, notes, and snippets.

@talentless
Created October 4, 2008 19:36
Show Gist options
  • Save talentless/14794 to your computer and use it in GitHub Desktop.
Save talentless/14794 to your computer and use it in GitHub Desktop.
<!-- Desired Output -->
A couple sentences. <br /> A few more explaining something
<!-- Actual Output -->
A couple sentences. A few more explaining something
<!-- The result of some testing -->
<!-- Input -->
<<b>br />
<!-- Output -->
<br />
<!-- Dangerous Input -->
<<b>script>alert('This site is vulnerable!');<<b>/script>
<!-- Dangerous Output -->
<script>alert('This site is vulnerable!');</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment