WordPress Core < 4.5.2 - Cross-Site Scripting via MediaElement.js
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."
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | contao-components/mediaelement | >= 2.14.2, < 2.21.1 | 2.21.1 |
| Composer package | contao/core | >= 3.0.0, < 3.5.15 | 3.5.15 |
| npm package | mediaelement | < 2.11.1 | 2.11.1 |
| WordPress (core) | WordPress | < 3.7, >= 3.7, <= 3.7.13, >= 3.8, <= 3.8.13, >= 3.9, <= 3.9.11, >= 4.0, <= 4.0.10, >= 4.1, <= 4.1.10, >= 4.2, <= 4.2.7, >= 4.3, <= 4.3.3, >= 4.4, <= 4.4.2, >= 4.5, <= 4.5.1 | 3.7.14, 3.8.14, 3.9.12, 4.0.11, 4.1.11, 4.2.8, 4.3.4, 4.4.3, 4.5.2 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-4567
- https://github.com/johndyer/mediaelement/commit/34834eef8ac830b9145df169ec22016a4350f06e
- https://github.com/mediaelement/mediaelement/commit/34834eef8ac830b9145df169ec22016a4350f06e
- https://codex.wordpress.org/Version_4.5.2
- https://contao.org/en/news/contao-3_5_15.html
- https://core.trac.wordpress.org/changeset/37371
- https://gist.github.com/cure53/df34ea68c26441f3ae98f821ba1feb9c
- https://github.com/FriendsOfPHP/security-advisories/blob/master/contao-components/mediaelement/CVE-2016-4567.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/core/CVE-2016-4567.yaml
- https://github.com/johndyer/mediaelement/blob/master/changelog.md
- https://github.com/mediaelement/mediaelement/blob/b992ccf5f0c04a207d98bbb0868420751a61ec90/changelog.md?plain=1#L1024
- https://github.com/mediaelement/mediaelement/blob/master/changelog.md
- https://web.archive.org/web/20170205142412/http://www.securitytracker.com/id/1035818
- https://wordpress.org/news/2016/05/wordpress-4-5-2
- https://wpvulndb.com/vulnerabilities/8488
- http://www.openwall.com/lists/oss-security/2016/05/07/2
- http://www.securitytracker.com/id/1035818
- https://www.wordfence.com/threat-intel/vulnerabilities/id/0987285b-4daf-4979-934b-7fa4a0ded99f?source=api-prod
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N- Weakness (CWE)
CWE-79- Platform
- Composer, npm, WordPress
- Package
contao-components/mediaelement, contao/core, mediaelement- Disclosed
- 06.05.2016
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-277w-qpxr-2549 - CC BY 4.0
Wordfence Intelligence - 0987285b-4daf-4979-934b-7fa4a0ded99f - Wordfence Intelligence
Copyright 1999-2026 The MITRE Corporation
Copyright 2012-2026 Defiant Inc.
This record contains material that is subject to copyright
Copyright 1999-2026 The MITRE Corporation
CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy.
https://www.cve.org/Legal/TermsOfUseCopyright 2012-2026 Defiant Inc.
Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy.
https://www.wordfence.com/wordfence-intelligence-terms-and-conditions/Wordfence Intelligence
Wordfence Intelligence - Defiant, Inc. Copyright Defiant, Inc. All rights reserved except as granted below. License grant, section 3.1 of the Wordfence Intelligence Terms and Conditions (January 26, 2026): Subject to this Agreement, Company hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute the Service. Any copy you make for such purposes is authorized provided that you reproduce Company’s copyright designation, this license, and the license of any disclosed Company licensor in any such copy. Full applicable Agreement: https://www.wordfence.com/wordfence-intelligence-terms-and-conditions/
Vulnerability history: contao/core
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 9
- First → latest
- 05.2016 05.2024
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 2
- High 3
- Medium 4
Disclosures per year
- 2017: 0
- 2018: 0
- 2019: 0
- 2020: 0
- 2021: 0
- 2022: 5
- 2023: 1
- 2024: 2
- 2025: 0
- 2026: 0
earlier: 1
-
WordPress Core < 4.5.2 - Cross-Site Scripting via MediaElement.js this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.