Loading advisory.
Loading advisory.
Cross-site scripting vulnerability in TinyMCE
A cross-site scripting (XSS) vulnerability was discovered in the schema validation logic of the core parser. The vulnerability allowed arbitrary JavaScript execution when inserting a specially crafted piece of content into the editor using the clipboard or editor APIs.
Published 2021-10-22 16:24 UTC · Modified 2026-11-08 13:59 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| tinymce | npm | < 5.9.0 | 5.9.0 | npm install tinymce@5.9.0 |
| TinyMCE | NuGet | < 5.9.0 versions 3.4.3.2, 3.4.4, 3.4.5, 3.4.7, 3.5.0, 3.5.0.1, 3.5.1, 3.5.1.1, 3.5.2, 3.5.3, 3.5.4, 3.5.4.1, 3.5.5, 3.5.6, 3.5.7, 3.5.8, 4.0.0, 4.0.1, 4.0.10, 4.0.11 and 149 more | 5.9.0 | dotnet add package TinyMCE --version 5.9.0 |
| tinymce/tinymce | Packagist | < 5.9.0 versions 4.0.0, 4.0.1, 4.0.10, 4.0.11, 4.0.12, 4.0.13, 4.0.14, 4.0.15, 4.0.16, 4.0.17, 4.0.18, 4.0.19, 4.0.2, 4.0.20, 4.0.21, 4.0.22, 4.0.23, 4.0.24, 4.0.25, 4.0.26 and 140 more | 5.9.0 | composer require 'tinymce/tinymce:>=5.9.0' |
A cross-site scripting (XSS) vulnerability was discovered in the schema validation logic of the core parser. The vulnerability allowed arbitrary JavaScript execution when inserting a specially crafted piece of content into the editor using the clipboard or editor APIs. This malicious content could then end up in content published outside the editor, if no server-side sanitization was performed. This impacts all users who are using TinyMCE 5.8.2 or lower.
This vulnerability has been patched in TinyMCE 5.9.0 by ensuring schema validation was still performed after unwrapping invalid elements.
To work around this vulnerability, either:
Upgrade to TinyMCE 5.9.0 or higher
Manually sanitize the content using the BeforeSetContent event (see below)
editor.on('BeforeSetContent', function(e) {
var sanitizedContent = ...; // Manually sanitize content here
e.content = sanitizedContent;
});Tiny Technologies would like to thank William Bowling for discovering this vulnerability.
https://www.tiny.cloud/docs/release-notes/release-notes59/#securityfixes
If you have any questions or comments about this advisory:
Email us at infosec@tiny.cloud
Open an issue in the TinyMCE repo
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.011 on 2026-11-24 to 0.014 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.011 | first score | v2026.06.15 |
| 2026-11-26 | 0.014 | 0.011 | v2026.06.15 |