Skip to content
XSS Disclosed report Beginner

Reflected Swf XSS In ( plugins.svn.wordpress.org )

A Flash file hosted on the WordPress plugin SVN repository accepted a user-controlled parameter that was passed to a JavaScript callback, allowing reflected cross-site scripting. An attacker could craft a link that executes script in the context of the plugins.svn.wordpress.org domain.

m7mdharoun Follow

Originally disclosed on HackerOne

  • Triaged in 4 months
  • Fixed in 11 months
  • Paid in 11 months
  • Disclosed after 12 months

Summary by the researcher

Full disclose here : https://www.mohamedharon.com/2018/08/wordpressXSS.html

The report

Hello , I have found XSS in flash File ( video-js.swf ) in plugins.svn.wordpress.org and Content Spoofing Vulnerability in moxieplayer.swf

      ** POC **

https://plugins.svn.wordpress.org/1player/tags/1.3/players/video-js/video-js.swf?readyFunction=alert(%27Hello%27)

XSS_wordpress.jpg
XSS_wordpress.jpg From the original on HackerOne

https://plugins.svn.wordpress.org/agile-video-player/trunk/js/plugins/media/moxieplayer.swf?url=hekimuso1973.xsl.pt/723.flv

The original report as published on HackerOne, by m7mdharoun. 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 passed the readyFunction parameter directly into a JavaScript call without validating or restricting it.

What the attacker needed

Victim opens a crafted link; Flash content is loaded 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.

Flash files can run code in the browser. This one took a value from the web address and used it as a JavaScript function name, so a crafted link made the page run the attacker's script. That lets an attacker act as the site in the victim's browser.

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 m7mdharoun

View all

9 more disclosed reports, best first.

More from WordPress

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.