Severity by source
AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Lifecycle Timeline
2DescriptionGitHub Advisory
TinyMCE is an open source rich text editor. From 6.8.0 to before 7.1.0, TinyMCE 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. This vulnerability is fixed in 7.1.0.
AnalysisAI
Stored/reflected cross-site scripting in TinyMCE rich text editor versions 6.8.0 through 7.0.x allows authenticated users to inject and execute arbitrary JavaScript in the context of any application embedding the editor. The flaw stems from improper SVG namespace scope handling in the built-in sanitizer, letting nested-element payloads bypass attribute sanitization. No public exploit identified at time of analysis, but the issue is disclosed via a GitHub security advisory with a CVSS of 8.7 reflecting scope change to the embedding application.
Technical ContextAI
TinyMCE is a widely deployed WYSIWYG editor (cpe:2.3:a:tinymce:tinymce) embedded in CMSes, SaaS dashboards, ticketing systems, and email composers. The vulnerability is a CWE-79 (Improper Neutralization of Input During Web Page Generation) caused by namespace confusion when the sanitizer processes SVG subtrees: SVG allows XML namespaces and foreignObject content where HTML parsing rules differ from the surrounding document, and when nested elements cross these boundaries the attribute allow/deny logic does not re-evaluate scope correctly. As a result, event handler attributes (e.g., onload, onerror) or javascript: URIs on otherwise-stripped elements survive sanitization and are interpreted by the browser when the content is later rendered.
RemediationAI
Vendor-released patch: TinyMCE 7.1.0 - upgrade all embedded instances to 7.1.0 or later as published in the upstream advisory at https://github.com/tinymce/tinymce/security/advisories/GHSA-mh5m-5hw4-5c69. Where an immediate upgrade is not possible, apply a server-side secondary sanitization pass on TinyMCE output using a hardened sanitizer (e.g., DOMPurify with SVG and MathML namespaces locked down) before persisting or rendering content, accepting that this may strip legitimate SVG markup users have authored; alternatively configure TinyMCE's valid_elements / invalid_elements to deny svg, foreignObject, and event-handler attributes, at the cost of losing inline SVG editing. Enforce a strict Content Security Policy (script-src without 'unsafe-inline' and with no permissive nonces echoed into editor output) to blunt the impact of any sanitizer bypass, noting CSP will not prevent same-origin DOM manipulation if inline scripts are otherwise permitted on the page.
TinyMCE versions before 5.6.0 are affected by a stored cross-site scripting vulnerability. Rated medium severity (CVSS 6
TinyMCE versions before 5.10.0 are affected by a cross-site scripting vulnerability. Rated medium severity (CVSS 6.1), t
TinyMCE versions before 5.9.0 are affected by a stored cross-site scripting vulnerability. Rated medium severity (CVSS 6
TinyMCE before 4.9.7 and 5.x before 5.1.4 allows XSS in the core parser, the paste plugin, and the visualchars plugin by
tinymce 4.7.11, 4.7.12 is affected by: CWE-79: Improper Neutralization of Input During Web Page Generation. Rated medium
Stored cross-site scripting in TinyMCE rich text editor allows authenticated attackers to inject persistent JavaScript b
Stored cross-site scripting in TinyMCE's media plugin allows authenticated attackers to inject malicious JavaScript via
Stored cross-site scripting in TinyMCE rich text editor versions prior to 5.11.1, 7.9.3, and 8.5.1 allows authenticated
The bbcode plugin in TinyMCE 3.5.8 does not properly enforce the TinyMCE security policy for the (1) encoding directive
TinyMCE is an open source rich text editor. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable
TinyMCE is an open source rich text editor. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable
TinyMCE is an open source rich text editor. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-32920
GHSA-mh5m-5hw4-5c69