CVE-2016-4567 MediaElement Vulnerable to Reflected XSS
Remote attackers can inject arbitrary web script or HTML via the jsinitfunction parameter in MediaElement.js, affecting WordPress installations.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2016-4567?
CVE-2016-4567 is a medium-severity cross-site scripting vulnerability in Wordpress Wordpress, published on 22 May 2016. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Cross-site scripting (XSS) vulnerability in flash/FlashMediaElement.as in MediaElement.js before 2.21.0, as used in WordPress before 4.5.2, allows remote attackers to inject arbitrary web script or HTML via an obfuscated form of the jsinitfunction parameter, as demonstrated by "jsinitfunctio%gn."
Weakness: CWE-79
Which versions are affected by CVE-2016-4567?
6 open source packages ship an affected version, including contao-components/mediaelement, contao/core and mediaelement. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
contao-components/mediaelement Packagist | From 2.14.2 | 2.21.1 |
contao-components/mediaelement Packagist | From 2.14.2 | 2.21.1 |
contao/core Packagist | From 3.0.0 | 3.5.15 |
contao/core Packagist | From 3.0.0 | 3.5.15 |
mediaelement npm | All versions | 2.11.1 |
mediaelement npm | All versions | 2.11.1 |
Products include Mediaelementjs Mediaelement.js, Wordpress Wordpress.
How do I fix CVE-2016-4567?
Upgrade contao-components/mediaelement to 2.21.1 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2016-4567 being exploited?
There is no known exploitation of CVE-2016-4567 in the wild and no public exploit code.
Other vulnerabilities in Wordpress Wordpress
Sources
Also known as DEBIAN-CVE-2016-4567, GHSA-277w-qpxr-2549, UBUNTU-CVE-2016-4567.