Loading advisory.
Loading advisory.
Cross-site scripting vulnerability in TinyMCE
A cross-site scripting (XSS) vulnerability was discovered in the URL sanitization 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 APIs.
Published 2021-01-06 19:27 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.6.0 | 5.6.0 | npm install tinymce@5.6.0 |
| TinyMCE | NuGet | < 5.6.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 141 more | 5.6.0 | dotnet add package TinyMCE --version 5.6.0 |
| tinymce/tinymce | Packagist | < 5.6.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 132 more | 5.6.0 | composer require 'tinymce/tinymce:>=5.6.0' |
A cross-site scripting (XSS) vulnerability was discovered in the URL sanitization 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 APIs. This impacts all users who are using TinyMCE 5.5.1 or lower.
This vulnerability has been patched in TinyMCE 5.6.0 by improved URL sanitization logic.
To work around this vulnerability, either:
Upgrade to TinyMCE 5.6.0 or higher
Manually sanitize iframe, object and embed URL attributes using a TinyMCE node filter.
Disable iframe, object, and embed elements in your content using the invalid_elements setting.
editor.parser.addNodeFilter('iframe,object,embed', function(nodes) {
nodes.forEach(function(node) {
if (node.attributes) {
node.attributes.forEach(function(attr) {
var name = attr.name;
var value = attr.value;
// Sanitize the attribute value here or remove it entirely
var sanitizedValue = ...;
node.attr(name, santizedValue);
});
}
});
});invalid_elements: 'iframe,object,embed'Tiny Technologies would like to thank Aaron Bishop at SecurityMetrics for discovering this vulnerability.
https://www.tiny.cloud/docs/release-notes/release-notes56/#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.
EPSS went from 0.012 on 2026-11-24 to 0.014 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.012 | first score | v2026.06.15 |
| 2026-11-26 | 0.014 | 0.012 | v2026.06.15 |