CVE-2026-47760: Tinymce Cross-Site Scripting Vulnerability
HIGHCVE-2026-47760 is a HIGH (CVSS 8.7) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Tinymce libraries in the npm ecosystem. The issue involves tinymce cross-site scripting (xss) vulnerability using sanitization bypass through nested svgs. Remediation is available by upgrading affected packages to version 7.1.0.
CVE-2026-47760 at a Glance
Security Impact
CVSS: 8.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N).
How to Fix CVE-2026-47760
To remediate this vulnerability, upgrade all affected Tinymce dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install tinymce@7.1.0
Upgrade TinyMCE to 7.1.0
Upgrade tinymce/tinymce to 7.1.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls tinymce
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-47760, inspect your project dependencies using npm:
npm ls tinymce
Analyze the terminal output to locate any version of Tinymce in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 7.1.0), your application is affected.
Note: The npm ls tinymce command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Tinymce, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-47760 Affected Tinymce Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
tinymce
|
npm |
≥ 6.8.0
< 7.1.0
|
7.1.0
|
|
TinyMCE
|
NuGet |
≥ 6.8.0
< 7.1.0
|
7.1.0
|
|
tinymce/tinymce
|
Packagist |
≥ 6.8.0
< 7.1.0
|
7.1.0
|
References
Frequently Asked Questions
What is CVE-2026-47760?
Which Tinymce versions are affected?
What version fixes CVE-2026-47760?
Is tinymce affected?
Is TinyMCE affected?
What is the CVSS score of CVE-2026-47760?
What CWE is associated with CVE-2026-47760?
How can I check npm dependencies for CVE-2026-47760?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mh5m-5hw4-5c69",
"modified" : "2026-06-05T20:09:38Z",
"published" : "2026-06-05T20:09:38Z",
"aliases" : [ "CVE-2026-47760" ],
"summary" : "TinyMCE Cross-Site Scripting (XSS) vulnerability using sanitization bypass through nested SVGs",
"details" : "### Impact\nTinyMCE 6.8.x contains an XSS vulnerability caused by improper SVG namespace scope handling in the sanitizer. A crafted payload using nested <svg> elements can bypass attribute sanitization and execute arbitrary JavaScript.\n\n### Patches\nThis issue affects TinyMCE 6.8.x-7.0.x. The vulnerability is fixed in TinyMCE 7.1.0 and later.\n\n### Workarounds\nNo official workaround available.\n\n### Acknowledgements\nTiny thanks [maple3142](https://github.com/maple3142) (<https://maple3142.net>) of DEVCORE for their help identifying this vulnerability.\n\n### References\nFix introduced in TinyMCE 7.1.0 though a rewrite of code causing the vulnerability.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "tinymce"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.8.0"
}, {
"fixed" : "7.1.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "TinyMCE"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.8.0"
}, {
"fixed" : "7.1.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "tinymce/tinymce"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.8.0"
}, {
"fixed" : "7.1.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/tinymce/tinymce/security/advisories/GHSA-mh5m-5hw4-5c69"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-47760"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/tinymce/tinymce"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-06-05T20:09:38Z",
"nvd_published_at" : "2026-05-28T16:16:28Z"
}
}