One-click reflected XSS on Instagram

We discussed this vulnerability during Episode 77 on 18 May 2021

This is a surprisingly simple reflected XSS on instagram.com. Just a next= URL parameter that is reflected into an href, you can include a javascript: target for the url. However, on-page javascript will rewrite the onclick handler which rewrites it. Middle clicking however will trigger it.