CVE-2026-47762: TinyMCE Cross-Site Scripting (XSS) vulnerability through `mce:protected` comments
Impact Stored XSS vulnerability via forged mce:protected comments. Allows attackers to bypass sanitization and inject scripts that execute when content is restored. Impacts users who utilize the protect option.
Patches Patched by validating decoded mce:protected content against configured protect regex rules before restoring. Users should upgrade to the latest patched version.
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 Ivan Babenko 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 via forged mce:protected comments. Allows attackers to bypass sanitization and inject scripts that execute when content is restored. Impacts users who utilize the protect option. 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-47762?
The severity of CVE-2026-47762 is classified as high with a score of 8.7.
What type of vulnerability is CVE-2026-47762?
CVE-2026-47762 is a Cross-Site Scripting (XSS) vulnerability.
How do I fix CVE-2026-47762?
To fix CVE-2026-47762, upgrade TinyMCE to version 5.11.1, 7.9.3, or 8.5.1 or higher.
What are the potential impacts of CVE-2026-47762?
CVE-2026-47762 allows attackers to inject scripts that can execute on user content restoration, affecting users who utilize the protect option.
Which versions of TinyMCE are affected by CVE-2026-47762?
TinyMCE versions prior to 5.11.1, 7.9.3, and 8.5.1 are affected by CVE-2026-47762.