Skip to content
XSS Disclosed report Beginner

Reflected XSS on vimeo.com/musicstore

The value of the 'section' parameter was reflected unescaped inside a JavaScript function call, allowing an attacker to inject and execute arbitrary JavaScript. An attacker could craft a link that runs script in the victim's browser on the vimeo.com domain.

stefanovettorazzi Follow

Originally disclosed on HackerOne

  • Fixed in 2 days
  • Paid in 2 days
  • Disclosed after 2.0 years

Description

The value of the parameter section is reflected in the Javascript function MusicStoreCommon.initialize() without escaping, which allows to insert Javascript code.

Proof of concept

  1. Go to https://vimeo.com/musicstore?section=%27-alert(document.domain)-%27.
  2. alert(document.domain) is executed.

This reflected XSS is reproducible on Chrome, Safari and Firefox.

The original report as published on HackerOne, by stefanovettorazzi. 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 inserted the 'section' parameter into a JavaScript context without proper escaping or encoding.

Impact

An attacker could execute arbitrary JavaScript in a victim's browser on the vimeo.com domain.

What the attacker needed

Victim clicks a crafted link

The fix

The application should escape or encode the 'section' parameter before inserting it into JavaScript context.

How it was found

  1. Visit the musicstore page with a crafted 'section' parameter containing JavaScript.
  2. Observe that the script executes in the browser.

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 takes input from the URL and puts it directly into the page's code without cleaning it, an attacker can add their own code. Here, the 'section' parameter was inserted into a JavaScript function call, so a specially crafted link could run script in the visitor's browser. This is called reflected cross-site scripting (XSS) because the malicious script is reflected back from the server.

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 stefanovettorazzi

View all

17 more disclosed reports, best first.

More from Vimeo

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.