CVE-2026-47761: TinyMCE Cross-Site Scripting (XSS) vulnerability using media plugin `data-mce-object` injection
Impact Stored XSS vulnerability in the media plugin. Attackers can inject malicious scripts via crafted data-mce- attributes, which are executed when content is rendered. Impacts users of TinyMCE with the media plugin enabled.
Patches This vulnerability has been patched in TinyMCE 8.5.1, TinyMCE 7.9.3 and TinyMCE 5.11.1 LTS by ensuring that, when using the media plugin, any content with data-mce-object and data-mce-p- attributes are properly sanitized.
Workarounds No official workaround available.
Fix To avoid this vulnerability:
- Upgrade to TinyMCE 8.5.1 or higher. - Upgrade to TinyMCE 7.9.3 or higher. - Upgrade to TinyMCE 5.11.1 LTS or higher for TinyMCE 5.x (only available as part of commercial long-term support contract).
Acknowledgements Tiny thanks Aymane MAZGUITI and Ange Primiterra for their help identifying this vulnerability.
Other sources
TinyMCE is an open source rich text editor. Prior to 5.11.1, 7.9.3, and 8.5.1, there is a stored XSS vulnerability in the media plugin. Attackers can inject malicious scripts via crafted data-mce- attributes, which are executed when content is rendered. Impacts users of TinyMCE with the media plugin enabled. This vulnerability is fixed in 5.11.1, 7.9.3, and 8.5.1.
— NVD
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/tinymce/tinymceto a version that resolves this vulnerability.Fixed in 8.5.1 - Upgrade
Upgrade
composer/tinymce/tinymceto a version that resolves this vulnerability.Fixed in 7.9.3 - Upgrade
Upgrade
nuget/TinyMCEto a version that resolves this vulnerability.Fixed in 8.5.1 - Upgrade
Upgrade
nuget/TinyMCEto a version that resolves this vulnerability.Fixed in 7.9.3 - Upgrade
Upgrade
npm/tinymceto a version that resolves this vulnerability.Fixed in 8.5.1 - Upgrade
Upgrade
npm/tinymceto a version that resolves this vulnerability.Fixed in 7.9.3 - Upgrade
Upgrade
composer/tinymce/tinymceto a version that resolves this vulnerability.Fixed in 5.11.1 - Upgrade
Upgrade
npm/tinymceto a version that resolves this vulnerability.Fixed in 5.11.1 - Upgrade
Upgrade
nuget/TinyMCEto a version that resolves this vulnerability.Fixed in 5.11.1
Event History
Frequently Asked Questions
What is the severity of CVE-2026-47761?
The severity of CVE-2026-47761 is rated high with a score of 8.7.
What is the impact of CVE-2026-47761?
CVE-2026-47761 allows attackers to inject malicious scripts leading to stored cross-site scripting (XSS) when content is rendered.
How do I fix CVE-2026-47761?
To fix CVE-2026-47761, upgrade TinyMCE to versions 5.11.1, 7.9.3, or 8.5.1 or later.
Which versions of TinyMCE are affected by CVE-2026-47761?
CVE-2026-47761 affects TinyMCE versions prior to 5.11.1, 7.9.3, and 8.5.1.
What type of vulnerability is CVE-2026-47761?
CVE-2026-47761 is classified as a cross-site scripting (XSS) vulnerability.