8.5high
TinyMCE Cross-Site Scripting (XSS) vulnerability using media plugin `data-mce-object` serialization
- Severity
- 8.5high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.36% (higher than 31% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-mf2p-h6hf-fcwm
Description
TinyMCE is an open source rich text editor. From 7.9.3 until 7.9.4 and from 8.5.1 until 8.9.3, the media plugin creates elements crafted through data-mce-object in the active document before sanitization. Those elements can execute malicious scripts during processing, resulting in stored cross-site scripting for users with the media plugin enabled. This issue is fixed in versions 8.9.3 and 7.9.4.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| tinymce tinymce | >= 8.5.1, < 8.9.3, >= 7.9.3, < 7.9.4 | CVE List |
| tinymce (npm) | from 8.5.1 before 8.9.3, from 7.9.3 before 7.9.4 | GitHub Advisory Database |
| TinyMCE (NuGet) | from 8.5.1 before 8.9.3, from 7.9.3 before 7.9.4 | GitHub Advisory Database |
| tinymce/tinymce (Packagist) | from 8.5.1 before 8.9.3, from 7.9.3 before 7.9.4 | GitHub Advisory Database |
All scores
| GitHub_M | 8.5high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
TinyMCE is an open source rich text editor. From 7.9.3 until 7.9.4 and from 8.5.1 until 8.9.3, the media plugin creates elements crafted through data-mce-object in the active document before sanitization. Those elements can execute malicious scripts during processing, resulting in stored cross-site scripting for users with the media plugin enabled. This issue is fixed in versions 8.9.3 and 7.9.4.
GitHub Advisory Database
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.
Acknowledgements
Tiny thanks Fariskhi Vidyan and David Vieira Kurz (HiSolutions AG) for their help identifying this vulnerability.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-116675 changed 2026-10-28 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-mf2p-h6hf-fcwm changed 2026-10-27 | CC-BY-4.0 |
| NVD | CVE-2026-116675 changed 2026-10-28 | Public domain |