Skip to content
XSS Disclosed report Intermediate

Stored XSS on app.crowdsignal.com + your-subdomain.survey.fm via Embed Media

A stored cross-site scripting flaw existed in the quiz question editor's Embed Media feature, where a crafted shortcode value was saved and later rendered without proper escaping. An attacker could run script in the browser of anyone viewing the quiz or its shared survey.fm link, potentially stealing cookies.

ali Follow

Originally disclosed on HackerOne

  • Triaged in 4 days
  • Fixed in 6 days
  • Paid in 6 days
  • Disclosed after 4 months

Summary by the researcher

If you want to follow me, here is my linkedin & twitter accounts: https://twitter.com/alicanact60 https://tr.linkedin.com/in/alicanact60

@mygf

The report

Hello there, I found a stored xss vulnerability.

Steps:

  1. Go to https://app.crowdsignal.com/dashboard
  2. Create a quiz.
  3. Go to https://app.crowdsignal.com/quizzes/{your-quiz-id}/question
  4. Add Multiple Choice
  5. Put a name to answer 1.
  6. Click Add media button.
1.png
1.png From the original on HackerOne
  1. Select Embed Media
  2. Paste this: [wpvideo w0MiG12E]
  3. Insert it.
  4. Open Burp Suite and click Save button.
  5. Return to burp suite and paste this payload to media[23168664] parameter: [wpvideo%20w0MiG12Exx1\"><svg/onload=prompt(document.domain)>]
  6. Forward the request and refresh the page. You will see xss alert.

Also go to https://app.crowdsignal.com/sharing/quiz/{your-quiz-id}/ and copy survey.fm link. Go to it and you will see xss alert.

Impact

Stealing cookies

Regards, @mygf

The original report as published on HackerOne, by ali. 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 Embed Media shortcode value was stored and later rendered into the page without output encoding or sanitisation, so markup in the value became executable.

Impact

An attacker could run script in a victim's browser on the quiz page or its public survey link, which the report says could be used to steal cookies.

What the attacker needed

A Crowdsignal account; ability to create a quiz; victim opens the quiz or survey link

How it was found

  1. Open the dashboard and create a quiz.
  2. Open the quiz's question page and add a Multiple Choice question.
  3. Name the first answer and click the Add media button.
  4. Choose Embed Media, insert the shortcode, and save the request through an intercepting proxy.
  5. Replace the media parameter value with the crafted shortcode and forward the request.
  6. Refresh the quiz page, or open the shared survey.fm link, to see the script run.

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.

Cross-site scripting (XSS) is when a website saves or shows text from a user in a way that the browser treats as code, so an attacker's script runs in other people's browsers. Here the quiz editor accepted a specially formed media shortcode and stored it, then displayed it as live code on the quiz page and its public survey link. That let the author's script run for anyone who opened the quiz.

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 ali

View all

9 more disclosed reports, best first.

More from Automattic

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.