Medium

WordPress Core < 4.5.2 - Cross-Site Scripting via MediaElement.js

  • Disclosed: 06.05.2016
  • Updated: 11.10.2026 10:22

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.

PlatformPackageVulnerable versionsFixed 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

CVSS score 6.4/10
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/TermsOfUse
Copyright 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.

All (9) in the archive
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

  1. 2017: 0
  2. 2018: 0
  3. 2019: 0
  4. 2020: 0
  5. 2021: 0
  6. 2022: 5
  7. 2023: 1
  8. 2024: 2
  9. 2025: 0
  10. 2026: 0

earlier: 1

Severity:
  1. High ghsa-wq43-8r5p-w3mc >= 2.0.0, < 2.11.14, >= 3.0.0, < 3.2.5 2.11.14, 3.2.5
  2. Critical · 9.0 ghsa-wxxw-5gq6-j2g5 >= 2.0.0, < 2.11.17, >= 3.0.0, < 3.2.9 2.11.17, 3.2.9
  3. Critical · 9.8 CVE-2019-10641 >= 3.0.0, < 3.5.39 3.5.39
  4. High · 8.8 CVE-2017-10993 >= 3.0.0, < 3.5.28 3.5.28
  5. High · 8.8 CVE-2012-4383 < 2.11.4 2.11.4
  6. WordPress Core < 4.5.2 - Cross-Site Scripting via MediaElement.js this entry
    Medium · 6.4 CVE-2016-4567 >= 3.0.0, < 3.5.15 3.5.15

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.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.