Vulnerability library
Security checkJune 30, 2026

TinyMCE Cross-Site Scripting (XSS) vulnerability using media plugin `data-mce-object` injection

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmtinymce

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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.

Recommendation

Update the tinymce package to the latest compatible version. Followings are version details:

  • Affected version(s): **> 0, <= 5.10.9 >= 8.0.0, < 8.5.1 >= 6.0.0, < 7.9.3**
  • Patched version(s): **8.5.1 7.9.3**

References

Could your website be exposed too?

SmartScanner can check your website for TinyMCE Cross-Site Scripting (XSS) vulnerability using media plugin `data-mce-object` injection and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated June 30, 2026