Skip to content
This repository has been archived by the owner on May 11, 2022. It is now read-only.

Commit

Permalink
Add sample XSS vectors
Browse files Browse the repository at this point in the history
  • Loading branch information
kravietz committed Feb 11, 2019
1 parent c3e5713 commit f1dcaab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/resources/TagXss.ftl.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@ <h1>HTML tag XSS</h1>
<div class="row">
<div class="col">
<h2>Sample XSS vectors</h2>

<pre>
&lt;script&gt;alert(1)&lt;/script&gt;
&lt;img src=x onerror=alert(1)&gt;
&lt;video&gt;&lt;source onerror=&quot;alert(1)&quot;&gt;
</pre>

<p>More exciting XSS vectors can be found on
<a href="https://heideri.ch/jso/" rel="external">HTML5 Security Cheatsheet</a></p>
</div>
Expand Down

0 comments on commit f1dcaab

Please sign in to comment.