Loading advisory.
Loading advisory.
XSS in TinyMCE
A cross-site scripting (XSS) vulnerability was discovered in: the core parser and media plugin. The vulnerability allowed arbitrary JavaScript execution when inserting a specially crafted piece of content into the editor via the clipboard or APIs.
Published 2019-07-17 16:35 UTC · Modified 2024-08-05 03:07 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| tinymce | npm | < 4.9.10 >= 5.0.0, < 5.2.2 | 4.9.10, 5.2.2 | npm install tinymce@4.9.10npm install tinymce@5.2.2 |
A cross-site scripting (XSS) vulnerability was discovered in: the core parser and media plugin. The vulnerability allowed arbitrary JavaScript execution when inserting a specially crafted piece of content into the editor via the clipboard or APIs. This impacts all users who are using TinyMCE 4.9.9 or lower and TinyMCE 5.2.1 or lower.
This vulnerability has been patched in TinyMCE 4.9.10 and 5.2.2 by improved HTML parsing and sanitization logic.
The workarounds available are:
disable the media plugin and manually sanitize CDATA content (see below) or
upgrade to either TinyMCE 4.9.10 or TinyMCE 5.2.2
setup: function(editor) {
editor.on('PreInit', function() {
editor.parser.addNodeFilter('#cdata', function(nodes) {
for (var i = 0; i < nodes.length; i++) {
nodes[i].remove();
}
});
});
}Tiny Technologies would like to thank Michał Bentkowski and intivesec for discovering these vulnerabilities.
https://www.tiny.cloud/docs/release-notes/release-notes522/#securityfixes
If you have any questions or comments about this advisory:
Open an issue in the TinyMCE repo
Email us at infosec@tiny.cloud
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
One EPSS score on record: 0.019 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.019 | first score | v2026.06.15 |