Reflected XSS on business-blog.zomato.com - Part I
A reflected cross-site scripting vulnerability existed on a Zomato blog subdomain, where a crafted URL caused JavaScript to execute in the victim's browser. An attacker could use this to run arbitrary script in the context of the site.
Originally disclosed on HackerOne
- Fixed in 12 months
- Disclosed after 13 months
Hi guys,
I would like to report a reflected XSS on business-blog.zomato.com.
- Open Chrome and Firefox (latest versions)
- Open https://business-blog.zomato.com/wp-includes/js/mediaelement/flashmediaelement.swf?jsinitfunctio%gn=alert
1 - Payload is executed
Check the attached screenshot.
Solution:
- Update Wordpress to 4.5.2
- Update flashmediaelement.swf to 2.21.1
Feel free to contact me if you need further assistance.
Best, -David Sopas
Attachments

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 an outdated WordPress installation and an outdated Flash media element file allowed a parameter to be reflected into a script context without proper sanitisation.
Impact
An attacker could execute JavaScript in a victim's browser when the victim visits a crafted link.
What the attacker needed
Victim clicks a crafted link
How it was found
- Open Chrome or Firefox (latest versions).
- Visit the crafted URL containing the payload.
- Observe that the payload executes.
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.
XSS is when a site runs an attacker's JavaScript in another user's browser. Here a crafted link made the site run code that showed an alert box, proving the attacker could run their own code.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.