Skip to content

Commit

Permalink
Expand link shortcut tests in XSS issue 604 case
Browse files Browse the repository at this point in the history
  • Loading branch information
Crozzers committed Sep 22, 2024
1 parent b633861 commit 1b3d705
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/tm-cases/issue603_xss.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<p><img src="code&gt;&quot; onerror=alert()//&lt;/code" alt="" /></p>

<p><img src="&quot; onerror=alert()//" alt="" />
<a href="#"></a></p>
<a href="#"></a>
<img src="`&quot; onerror=alert()//`" alt="" />
<img src="&lt;code&gt;&quot; onerror=alert()//&lt;code&gt;" alt="" /></p>
4 changes: 4 additions & 0 deletions test/tm-cases/issue603_xss.text
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@

![][XSS]
[][XSS]
![][XSS2]
![][XSS3]


[XSS]: " onerror=alert()//
[XSS2]: `" onerror=alert()//`
[XSS3]: <code>" onerror=alert()//<code>

0 comments on commit 1b3d705

Please sign in to comment.