NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2026-47760: TinyMCE Cross-Site Scripting (XSS) vulnerability using sanitization bypass through nested SVGs

highCVSS 3.1 8.7GHSA-mh5m-5hw4-5c69

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 entries