Vulnerability library
Security checkJuly 07, 2026

TinyMCE Cross-Site Scripting (XSS) vulnerability using through data-mce- prefixed src, href, style attributes

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 via unsanitized data-mce-* attributes (data-mce-href, data-mce-src, data-mce-style). Allows attackers to inject malicious values that override safe attributes during serialization, bypassing validation.

Recommendation

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

  • Affected version(s): **<= 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 through data-mce- prefixed src, href, style attributes and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated July 07, 2026