TinyMCE Cross-Site Scripting (XSS) vulnerability using media plugin `data-mce-object` injection
tinymce
tinymce
≥ 8.0.0 · < 8.5.1
|
| tinymce/tinymce Packagist |
|
|
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 in the media plugin. Attackers can inject malicious scripts via crafted data-mce-* attributes, which are executed when content is rendered. Impacts users of TinyMCE with the media plugin enabled. This vulnerability is fixed in 5.11.1, 7.9.3, and 8.5.1.
From the CVE record · GitHub_M
TinyMCE’s media plugin is vulnerable to stored cross-site scripting when it is enabled. An attacker can inject malicious scripts through crafted data-mce-* attributes; the scripts execute when a user renders the content. The input does not specify whether authentication is required.
Check deployments using the media plugin with npm tinymce, NuGet TinyMCE, or Packagist tinymce/tinymce at versions <=5.10.9, >=6.0.0 <7.9.3, or >=8.0.0 <8.5.1.