TinyMCE Cross-Site Scripting (XSS) vulnerability in handling iframes
tinymce
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| tinymce npm |
|
|
| TinyMCE NuGet |
|
|
| tinymce/tinymce Packagist |
|
tinymce
| Product | Affected | Fixed in |
|---|---|---|
| tinymce npm |
|
|
| TinyMCE NuGet |
|
|
| tinymce/tinymce Packagist |
|
|
TinyMCE is an open source rich text editor. A cross-site scripting (XSS) vulnerability was discovered in TinyMCE’s content insertion code. This allowed `iframe` elements containing malicious code to execute when inserted into the editor. These `iframe` elements are restricted in their permissions by same-origin browser protections, but could still trigger operations such as downloading of malicious assets. This vulnerability is fixed in 6.8.1.
From the CVE record · GitHub_M
TinyMCE's content insertion code is vulnerable to cross-site scripting. Malicious code in an iframe can execute when the iframe is inserted into the editor, potentially triggering downloads of malicious assets despite same-origin browser restrictions. The input does not specify whether authentication or user interaction is required.
Teams using npm tinymce, NuGet TinyMCE, or Packagist tinymce/tinymce versions earlier than 6.8.1 should check their installations.