TinyMCE patches stored XSS flaws in editor sanitizer and media plugin
Vulnerability Disclosure · 2 sources · Updated 5mo ago · First seen Jun 5, 2026

TinyMCE has patched multiple cross-site scripting vulnerabilities in its widely deployed rich text editor, including stored and sanitization-related flaws tracked as CVE-2026-47759, CVE-2026-47760, CVE-2026-47761, and CVE-2026-47762. The issues could let remote attackers inject malicious JavaScript into web content and compromise active user sessions when affected content is viewed. Reported weaknesses include improper namespace scope handling in the core sanitizer, bypasses involving prefixed attributes and comment handling, and a flaw in the media plugin.
The media plugin issue, CVE-2026-47761, stems from TinyMCE serializing rich-media elements into placeholder images while preserving raw properties in data-mce-* HTML attributes. Because many downstream filters permit arbitrary data-* attributes, malicious payloads can survive sanitization, be stored persistently, and later be deserialized into active DOM elements without sufficient validation, triggering script execution in users' browsers. TinyMCE said fixes are available in supported branches and advised customers to upgrade to version 7.9.3 or later or 8.5.1, while version 5 commercial users may require long-term support updates.


