Skip to content

Commit f49c4fc

Browse files
committed
another xss test and securitymd
1 parent 12078c0 commit f49c4fc

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

SECURITY.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Did you find an XSS or similarly bad security issue with Nutshell? If so:
2+
3+
1) Whoops, sorry 😬
4+
5+
2) Please contact me at this email!
6+
7+
![](https://ncase.me/faq/contact.jpg)
8+
9+
And then I will attempt to fix it, eventually.
10+
11+
Thank you!

test/xss-test-victim.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ <h2>Heading</h2>
1212
<p>
1313
Does this test work?
1414
<a href="xss-test.html#cursed">:cursed</a>.
15+
<a href="xss-test.html#linkfail">:also cursed</a>.
1516
</p>
1617

1718
</body>

test/xss-test.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,11 @@ <h2>Test</h2>
2020
Test!
2121
</p>
2222

23+
<h2>Link Fail Test Too</h2>
24+
25+
<p>
26+
<a href='https://youtu.be/pQ2dI_B_Ycg?t=36"></iframe><img src=x onerror="alert(1)">'>:xss</a>
27+
</p>
28+
2329
</body>
2430
</html>

0 commit comments

Comments
 (0)