-
-
Save uploadcare-user/090afb423fb9a8cc0f1b526bbcf25996 to your computer and use it in GitHub Desktop.
Short snippet showing how things can get if you decide to use HTML entities in a malicious string
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
var s = "surprise!</script><script>alert('whoops!')</script>"; | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment