MediaElement Vulnerable to Reflected XSS
Impact
Cross-site scripting (XSS) vulnerability in flash/FlashMediaElement.swf 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."
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 2.11.1Semantic versions | 2.11.1 |
Version evidence: OSV · GHSA-277w-qpxr-2549
View original version evidence (0 explicit versions)
| Affected range | Recorded fix |
|---|---|
| From 2.14.2 before 2.21.1Ecosystem versions | 2.21.1 |
Version evidence: OSV · GHSA-277w-qpxr-2549
View original version evidence (19 explicit versions)
| Affected range | Recorded fix |
|---|---|
| From 3.0.0 before 3.5.15Ecosystem versions | 3.5.15 |
Version evidence: OSV · GHSA-277w-qpxr-2549
View original version evidence (76 explicit versions)
Original source description
Cross-site scripting (XSS) vulnerability in flash/FlashMediaElement.swf 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."
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2016-4567
- Patch github.com/johndyer/mediaelement/commit/34834eef8ac830b9145df169ec22016a4350f06e
- Patch github.com/mediaelement/mediaelement/commit/34834eef8ac830b9145df169ec22016a4350f06e
- Source reference codex.wordpress.org/Version_4.5.2
- Source reference contao.org/en/news/contao-3_5_15.html
- Patch core.trac.wordpress.org/changeset/37371
- Source reference gist.github.com/cure53/df34ea68c26441f3ae98f821ba1feb9c
- Security advisory github.com/FriendsOfPHP/security-advisories/blob/master/contao-components/mediaelement/CVE-2016-4567.yaml
- Security advisory github.com/FriendsOfPHP/security-advisories/blob/master/contao/core/CVE-2016-4567.yaml
- Release notes github.com/johndyer/mediaelement/blob/master/changelog.md
- Release notes github.com/mediaelement/mediaelement/blob/b992ccf5f0c04a207d98bbb0868420751a61ec90/changelog.md
- Release notes github.com/mediaelement/mediaelement/blob/master/changelog.md
- Security advisory web.archive.org/web/20170205142412/http://www.securitytracker.com/id/1035818
- Source reference wordpress.org/news/2016/05/wordpress-4-5-2
- Security advisory wpvulndb.com/vulnerabilities/8488
- Security advisory www.openwall.com/lists/oss-security/2016/05/07/2
- Source reference www.securitytracker.com/id/1035818