CVE-2026-47760: TinyMCE Cross-Site Scripting (XSS) vulnerability using sanitization bypass through nested SVGs
Impact 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. Patches This issue affects TinyMCE 6.8.x-7.0.x. The vulnerability is fixed in TinyMCE 7.1.0 and later. Workarounds No official workaround available.
Published Jun 5, 2026
Affected packages
tinymce
- Ecosystem
- npm
- Affected
- >= 6.8.0, < 7.1.0
- Fixed in
- 7.1.0
- Check
npm ls tinymce
TinyMCE
- Ecosystem
- NuGet
- Affected
- >= 6.8.0, < 7.1.0
- Fixed in
- 7.1.0
- Check
dotnet list package --include-transitive
tinymce/tinymce
- Ecosystem
- Composer (PHP)
- Affected
- >= 6.8.0, < 7.1.0
- Fixed in
- 7.1.0
- Check
composer show tinymce/tinymce
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
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.
Patches
This issue affects TinyMCE 6.8.x-7.0.x. The vulnerability is fixed in TinyMCE 7.1.0 and later.
Workarounds
No official workaround available.
Acknowledgements
Tiny thanks maple3142 () of DEVCORE for their help identifying this vulnerability.
References
Fix introduced in TinyMCE 7.1.0 though a rewrite of code causing the vulnerability.
Credited to maple3142.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-116675
TinyMCE Cross-Site Scripting (XSS) vulnerability using media plugin `data-mce-object` serialization
high8.5Oct 27, 2026CVE-2026-47759
TinyMCE Cross-Site Scripting (XSS) vulnerability using through data-mce- prefixed src, href, style attributes
high8.7No fixJun 5, 2026CVE-2026-47761
TinyMCE Cross-Site Scripting (XSS) vulnerability using media plugin `data-mce-object` injection
high8.7No fixJun 5, 2026CVE-2026-47762
TinyMCE Cross-Site Scripting (XSS) vulnerability through `mce:protected` comments
high8.7No fixJun 5, 2026CVE-2024-38356
TinyMCE Cross-Site Scripting (XSS) vulnerability using noneditable_regexp option
medium6.1Jun 19, 2024CVE-2024-38357
TinyMCE Cross-Site Scripting (XSS) vulnerability using noscript elements
medium6.1Jun 19, 2024
