Skip to content
XSS Disclosed report Beginner

Stored xss in shop name @ lp.reverb.com

A stored cross-site scripting vulnerability existed in the shop name field on lp.reverb.com, allowing an attacker to inject a script that would execute when the shop page was viewed. This could be used to steal users' session cookies.

sandeep_hodkasia Follow

Originally disclosed on HackerOne

  • Triaged in 8 hours
  • Fixed in 35 hours
  • Paid in 11 hours
  • Disclosed after 6 months

hello team,

There is a stored xss in lp.reverb.com. Attacker can inject malicious script into server while adding shop name as lll"></script><script>alert('xss');</script>. Exploit: https://lp.reverb.com/shops/faniyos-boutique/listings

Steps to reproduce:

  1. Navogate to https://reverb.com/my/lp_shop/edit
  2. Change your lp shop name to this: lll"></script><script>alert('xss')</script>
  3. Save the changes.
  4. View your lp shop.

Fix: Sanitise the given input in the backend and encode the special characters.

Thanks, Sandeep

Impact

Attack can save malicious script directly into the server. Malicious script can be used to gain users session.

The hacker selected the Cross-site Scripting (XSS) - Stored weakness. This vulnerability type requires contextual information from the hacker. They provided the following answers:

URL https://lp.reverb.com/shops/faniyos-boutique/listings

Verified Yes

Attachments

Screen_Shot_2018-03-26_at_9.33.45_AM.png
Screen_Shot_2018-03-26_at_9.33.45_AM.png From the original on HackerOne

The original report as published on HackerOne, by sandeep_hodkasia. 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 input in the shop name field before storing and rendering it.

Impact

An attacker could execute arbitrary script in a victim's browser and potentially steal their session.

What the attacker needed

Ability to edit LP shop name

How it was found

  1. Navigate to the LP shop edit page.
  2. Change the LP shop name to a malicious script payload.
  3. Save the changes.
  4. View the LP shop to trigger the script.

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 you type something into a website, it should be treated as text, not as code. Here, the shop name was saved and later shown without cleaning it, so a malicious script could run in other people's browsers. That script could then steal their login session.

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 sandeep_hodkasia

View all

3 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.