CVE-2016-4567 is a medium-severity (CVSS 6.1) Cross-site Scripting (XSS) vulnerability in mediaelement. A fix is available for mediaelement — see the affected versions and patch details below.
MediaElement Vulnerable to Reflected XSS
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
mediaelementnpmDescription
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 Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | mediaelement | all versions | 2.11.1npm install mediaelement@2.11.1 |
| 🐘Packagist | contao-components/mediaelement | ≥ 2.14.2&&< 2.21.1 | 2.21.1composer require contao-components/mediaelement:^2.21.1 |
| 🐘Packagist | contao/core | ≥ 3.0.0&&< 3.5.15 | 3.5.15composer require contao/core:^3.5.15 |
Affected Products
mediaelement.jsmediaelementjswordpresswordpressDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for mediaelement, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update mediaelement to 2.11.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2016-4567 is resolved across your whole dependency graph.
Workarounds
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
Frequently Asked Questions
Is CVE-2016-4567 in your dependencies?
Find it across npm, Packagist, including transitive dependencies.