Skip to content
XSS Disclosed report Beginner

Wordpress flashmediaelement.swf XSS on stopthehacker.com

The report claims that a WordPress file, flashmediaelement.swf, on stopthehacker.com is vulnerable to cross-site scripting. An attacker could craft a URL that causes JavaScript to run in a victim's browser.

strutsonsecurity Follow

Originally disclosed on HackerOne

  • Fixed in 33 days
  • Disclosed after 8 months

Hi,

It appears that the domain stopthehacker.com has an XSS vulnerability, specifically in flashmediaelement.swf.

PoC:
https://www.stopthehacker.com/wp-includes/js/mediaelement/flashmediaelement.swf?jsinitfunctio%gn=alertPoC%20PoC%20PoC

Please see the attached screen shot for the alert box returned.

Kind regards!

Attachments

PoCOrGetOut.PNG
PoCOrGetOut.PNG From the original on HackerOne

The original report as published on HackerOne, by strutsonsecurity. 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 Flash file takes a JavaScript init function name from the URL and calls it without validating or escaping it.

Impact

An attacker could run script in a victim's browser on the affected site, though the report does not show what an attacker could do beyond an alert.

What the attacker needed

Victim opens a crafted link

How it was found

  1. Open the crafted URL containing the malicious parameter in a browser.
  2. Observe that an alert box appears, showing the script ran.

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 lets an attacker sneak JavaScript into a page that other people view. Here, a Flash file used by WordPress is said to accept a parameter that runs code. If true, a victim who opens a crafted link could have code run in their browser on that site.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More from StopTheHacker

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.