Self XSS to Good XSS Clickjacking

Arbaz Hussain
Jul 20, 2017 · 2 min read

Severity : High

Complexity: Easy

Weakness: Cross Site Scripting


  • While Testing one of the Private on HackerOne , I Land up on the following page.

https://sub.site.com/application/request/form

  • Page contain’s Form To submit the detail’s of their application .

‘>“/><svg/onload=prompt(document.cookie)>

As soon as i started entering Payload in this Field , Pop up Appear’s .

Image for post
Image for post
Self-XSS

Since Form is Vulnerable to Self XSS ,But Plus Point was There was No X-Frame-Header or Click-jacking Protection . Which Make’s the Attack Easier And Converted it to Well Working XSS on Other User’s .


Simple Demo POC:

Image for post
Image for post
Image for post
Image for post

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store