Eternal 路 Report #114631
Several XSS affecting Zomato.com and developers.zomato.com
Validstatus
5upvotes
2 Aug 2016disclosed
How it was found
Hi there, I have found several XSS in Zomato.com and developers.zomato.com
A. Steps to reproduce:
- Go to zomato.com
- Look for any restaurant
- Click "Write review" and enter the payload as your review (<img src=x onerror=alert(document.domain)>)
- Click "Publish review" . XSS pop up
B. Now in developers.zomato.com:
- Go to developers.zomato.com
- Go to "widgets" tab
- Look for "Restaurant Search" widget and click "Add Widget"
- Now a window will open (restaurant search), on the left side, you will see "Search for restaurant, cuisine or a dish" now, enter the payload (<img src=x onerror=alert(document.domain)>) in the seachbar, XSS popup.
C. developers.zomato.com (II)
- Go to developers.zomato.com
- Go to "widgets" tab
- Look for "Foodie Index Widget"
- Click "add widget"
- In the longitude and latitude, enter the XSS payload (<img class="emoji" alt="馃槸" src="x" /><svg onload=prompt(document.domain)>).
- XSS popup
I hope you fix this since this are affecting several zomato users. Thanks