Skip to content
XSS Disclosed report Beginner

Error Page Text Injection

The report claims that crafted URLs cause Yelp's error page to display attacker-supplied text, which could be used to trick a victim into visiting a malicious site. The text does not demonstrate the claimed redirection or show the rendered error page.

r0h17 Follow

Originally disclosed on HackerOne

Informational View original
  • Disclosed after 13 months

Hello Yelp team,

Description :

An attacker is able to inject his own text into error page and can fool the victim to visit his own malicious site. Please take a look at attached document, it contains POC as well as attack scenario about how the attacker can exploit this vulnerability and mitigation.

POC URL:

https://biz.yelp.com/%0A%0D*%20The%20web%20page%20you%20are%20trying%20to%20access%20has%20been%20moved%20to%20https://login.yelp.biz%20*/

OR

https://[email protected]/LBwo5y

Regards, Rohit

The original report as published on HackerOne, by r0h17. 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 error page reflects part of the requested URL into its output without proper encoding or validation.

Impact

A victim could be shown attacker-controlled text on a trusted Yelp error page and be persuaded to visit a malicious site, though the report does not show this actually happening.

What the attacker needed

Victim clicks a crafted link

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.

An error page is what a website shows when a requested address is wrong. Here the reporter says that by putting special characters and words into the address, those words appear on the error page. The concern is that a victim might trust the fake message and follow a link to a site the attacker controls.

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 r0h17

View all

2 more disclosed reports, best first.

More from Yelp

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.