-
-
Save uploadcare-user/6543815cd0a79b9e1ca1aa925144c5b1 to your computer and use it in GitHub Desktop.
Snippet, a safe place to store your data
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
<var id="s" data="surprise!</script><script>alert("whoops!")</script>"></var> | |
<script> | |
var s = document.getElementById('s').getAttribute('data'); | |
console.log(s); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment