Vulnerability library
Security checkJune 05, 2026

TinyMCE Cross-Site Scripting (XSS) vulnerability using sanitization bypass through nested SVGs

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

TinyMCE 6.8.x contains an XSS vulnerability caused by improper SVG namespace scope handling in the sanitizer. A crafted payload using nested elements can bypass attribute sanitization and execute arbitrary JavaScript.

Recommendation

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

  • Affected version(s): >= 6.8.0, < 7.1.0
  • Patched version(s): 7.1.0

References

Could your website be exposed too?

SmartScanner can check your website for TinyMCE Cross-Site Scripting (XSS) vulnerability using sanitization bypass through nested SVGs and gives you actionable findings to investigate.

Start a free scan

Related Issues

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