TinyMCE Cross-Site Scripting (XSS) vulnerability using media plugin `data-mce-object` serialization
High severity. Published 27 October 2026. Update tinymce/tinymce to the fixed version of your branch (8.9.3, 7.9.4): composer update tinymce/tinymce.
Which versions are affected?
| Package | Affected versions | Fixed in |
|---|---|---|
| tinymce/tinymce (opens in a new tab) | >= 8.5.1, < 8.9.3 | = 7.9.3 | 8.9.3, 7.9.4 |
What should you do?
Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:
composer show tinymce/tinymce
composer auditAdvisory details
| Severity | High |
|---|---|
| Published | |
| Updated | |
| CVE | CVE-2026-116675 (opens in a new tab) |
| GHSA | GHSA-mf2p-h6hf-fcwm (opens in a new tab) |
| Weakness | CWE-79 |
What the advisory says
Impact Stored XSS vulnerability in the media plugin. Attackers can inject malicious scripts via elements crafted through the data-mce-object attribute, which are created and executed before sanitization. Impacts users of TinyMCE with the media plugin enabled.
Patches This vulnerability has been patched in TinyMCE 8.9.3 and TinyMCE 7.9.4 by ensuring that, when using the media plugin, any content created through the data-mce-object attribute is properly sanitized first.
Workarounds No official workaround available.
Fix To avoid this vulnerability:
Upgrade to TinyMCE 8.9.3 or higher. Upgrade to TinyMCE 7.9.4 or higher.
Source: GHSA-mf2p-h6hf-fcwm (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .