Skip to content
XSS Disclosed report Intermediate

Multiple stored XSS in WordPress

The MediaElement Flash and Silverlight files bundled with WordPress allowed stored cross-site scripting payloads to be saved and later executed. An attacker could store a malicious payload that would run in a victim's browser when the affected media files were used.

Enguerran Gillier Follow

Originally disclosed on HackerOne

  • Triaged in 4 days
  • Fixed in 19 months
  • Paid in 20 months
  • Disclosed after 19 months

Summary by the program

Enguerran discovered a way to store payloads that would trigger XSS in the MediaElement Flash and Silverlight files that were bundled with WordPress.

We coordinated a fix with MediaElement, and moved the files from WordPress Core to an optional plugin, since most users no longer needed them.

https://wordpress.org/news/2018/01/wordpress-4-9-2-security-and-maintenance-release/

The original report as published on HackerOne, by opnsec. 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

Impact

An attacker could store a payload that would execute script in the browser of a user viewing the affected media, though the text does not describe specific victim actions or limits.

What the attacker needed

MediaElement Flash/Silverlight files present; ability to store a payload

The fix

The affected files were removed from WordPress Core and moved to an optional plugin, and a fix was coordinated with MediaElement.

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 an attacker gets their own code to run inside another person's browser on a trusted website. Here, the media player files that came with WordPress let someone save a harmful payload that would later run for other users. The fix was to remove those old files from WordPress itself and put them in an optional plugin.

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 Enguerran Gillier

View all

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