Skip to content
XSS Disclosed report Beginner

XSS in buying and selling pages, can created spoofed content (false login message)

The search query parameter on several buying and selling pages was reflected into the HTML without proper encoding, allowing an attacker to inject arbitrary HTML tags and classes. An attacker could craft a link that displays a fake login or account-locked message styled with Reverb's own CSS, tricking a logged-in user into visiting a malicious site to steal credentials.

kiyell Follow

Originally disclosed on HackerOne

  • Triaged in 37 hours
  • Fixed in 5 days
  • Paid in 5 days
  • Disclosed after 4 months

Previously this issue was resolved at another location in report #351376 After spending more time searching the website, I found additional areas where this problem persists:

https://sandbox.reverb.com/my/buying/orders?query= https://sandbox.reverb.com/my/selling/listings?query= https://sandbox.reverb.com/my/selling/orders?query=

These queries render several html tags along with the class attribute. This allows a user to spoof content and make it appear to come from Reverb.com.

In this PoC I use several tags along with the class attribute to prompt a user to click an outside link. The message uses Reverb.com CSS branding and appears authentic.

PoC: https://sandbox.reverb.com/my/buying/orders?query=%3Cspan%20class%3D%22bottom-alert%20%20videos-header%22%3E%3Cstrong%3ELog%20In%20to%20Reverb%3C%2Fstrong%3E%3Cbr%3E%3Ccode%3EDue%20to%20multiple%20unsuccessful%20attempts%20to%20login%20to%20your%20account.%20Your%20account%20has%20been%20locked%20for%20your%20protection.%20Please%20click%20below%20to%20unlock%20it%3C%2Fcode%3E%20%3Cbr%3E%3Cbr%3E%3Ca%20href%3D%22http%3A%2F%2Fbadwebsite.com%22%3E%3Cspan%20class%3D%22btn%20button%20button--orange%20button--wide%22%3EUnlock%3C%2Fspan%3E%3C%2Fspan%3E%3C%2Fa%3E

Impact

An attacker can create a link on behalf of Reverb.com to persuade a logged in user to take a number of different actions like visiting a malicious website to steal account information.

Attachments

Reverb_XSS_additional_vectors.JPG
Reverb_XSS_additional_vectors.JPG From the original on HackerOne

The original report as published on HackerOne, by kiyell. 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 search query parameter was reflected into the page without HTML-encoding, allowing injected tags and class attributes to be rendered.

Impact

An attacker could persuade a logged-in user to visit a malicious website to steal account information, though the report does not demonstrate script execution.

What the attacker needed

Victim clicks a crafted link; victim is logged in

How it was found

  1. Visit one of the buying or selling pages with a query parameter.
  2. Insert HTML tags and class attributes into the query value.
  3. Observe that the tags are rendered and the content appears styled as Reverb.com.

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.

When a website puts something you typed (like a search term) directly into the page without cleaning it first, an attacker can type HTML code instead of normal text. That code becomes part of the page, so the attacker can make the site show fake messages that look real. Here, the attacker made a fake 'account locked' warning with a button that leads to a bad website.

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 kiyell

View all

4 more disclosed reports, best first.

More from Reverb.com

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.