HTML5 Security Cheatsheet - A collection of HTML5 related XSS attack vectors
This is the new home of the H5SC or HTML5 Security Cheatsheet. Here you will find three things:
The collection of XSS vectors can be found here: https://html5sec.org/
We published a list of files useful for XSS testing in various situations. Currently the following files are available:
Pull requests welcome, we store the files in the /attachments
sub-folder.
The H5SC currently has three “hidden” features
/rss/+/
gives a unix timestamp 300 seconds in future (for ease use)/rss/+123/
gives a unix timestamp 123 seconds in future/rss/1234/
will serve a minimal rss feed until unix time is 1234.vectors()
innerHTML
? Open https://html5sec.org/?innerHTML307
: https://html5sec.org/r/data/307301
: https://html5sec.org/r/javascript/301301
, 302
, 303
, 307
, 308
, 999
data
, javascript
, jar
, script
(redirecting to https://html5sec.org/<script>alert(1)%3c/script>/)