Security
Security is the reason Editor42 exists. The open-source TinyMCE 6 line reached end of life with known, publicly documented vulnerabilities left in place and no upstream fixes coming. Editor42's founding commitment is to keep that editor — under its permissive MIT license — on a secure baseline. This page is the canonical record of that work: every vulnerability fixed in each Editor42 release, and how to reach us privately when you find something new.
Every security fix ships in its own commit with regression tests, is listed in the changelog, and is added to the tables below with the tests that prove it. How those commits can be read and verified against the TinyMCE source is described in Auditing Editor42.
Fixed vulnerabilities
Editor42 42.0.1, released on Dec 3, 2026, fixes all known CVEs and security-related bugs: on its release day no publicly known vulnerability affecting Editor42 remained unfixed. This page is the live record of that work: we keep watch on newly disclosed vulnerabilities and list each fix here with the release that ships it.
Fixed in Editor42 42.0.0
The first release closes the six publicly documented CVEs that were left open in the last MIT-licensed TinyMCE, plus a security upgrade of the bundled DOMPurify sanitizer. Two of the CVE fixes are cherry-picked from upstream's MIT-licensed patches; the other four are original fixes written by the Editor42 team. Each fix is its own commit in editor42com/editor42, so it can be read and verified on its own:
| Advisory | Security fix | Tests | Commit |
|---|---|---|---|
| CVE-2026-47760 | Fixed XSS via namespace scope confusion in nested SVG content. Original fix by the Editor42 team. | EditorNamespaceScopeXssTest.ts | 16ae8af |
| CVE-2026-47761 | Fixed XSS via data-mce-object injection in the media plugin. Original fix by the Editor42 team. | EditorMediaObjectInjectionTest.ts | ff1b736 |
| CVE-2026-47759 | Fixed stored XSS via data-mce-prefixed attributes on input. Original fix by the Editor42 team. | EditorDataMceAttributeTest.ts | 9b8dff8 |
| CVE-2026-47762 | Fixed stored XSS via mce:protected comments. Original fix by the Editor42 team. | EditorProtectContentTest.ts | 9140365 |
| CVE-2024-29203 | Default sandbox_iframes to true, add exclusions. Cherry-picked from upstream's MIT-licensed patch 94acea35f3 (2024-02-26). | EditorSandboxIframesTest.ts, EditorContentTest.ts, EditorGetContentRawTest.ts, InsertContentTest.ts | 2a4ad31 |
| CVE-2024-29881 | Default convert_unsafe_embeds to true. Cherry-picked from upstream's MIT-licensed patch 70a5a95fce (2024-02-09). | EditorConvertUnsafeEmbedsTest.ts, EditorContentTest.ts | 4c65679 |
| — | Upgraded DOMPurify from 3.1.7 to 3.4.7, removed the patch-package workaround. | EditorNestedSvgXssTest.ts, EditorContentTest.ts, InsertContentTest.ts | 0938c81 |
Fixed in Editor42 42.0.1
42.0.1 extends the protection for CVE-2026-47761 in the media plugin to the element a media placeholder names, upgrades the bundled DOMPurify and PrismJS, and hardens four more places in the editor. Upgrade from 42.0.0 if you use the media plugin with content from authors you do not fully trust. Each fix is its own commit in editor42com/editor42, with the tests that prove it:
| Advisory | Security fix | Tests | Commit |
|---|---|---|---|
| CVE-2026-47761 | Extended the protection against stored XSS via data-mce-object in the media plugin: the element a placeholder names is now validated as well. Original fix by the Editor42 team. | EditorMediaPlaceholderElementTest.ts | 0517cde |
| — | Hardened how the base URL is found against DOM clobbering: page elements named like the pre-init object or the current script are passed over. | EditorBaseUrlClobberingTest.ts | 606b309 |
| — | Replaced the default host of emoticon images, whose domain had lapsed. | EditorEmoticonsDefaultHostTest.ts | 96acc97 |
| — | Hardened the parser: comments and raw text that contain a zero width no-break space are handed on empty, so they cannot turn into markup. | EditorZwnbspMarkupTest.ts | 4439662 |
| — | Upgraded PrismJS from 1.29.0 to 1.30.0. | EditorPrismCurrentScriptTest.ts | c5bda66 |
| — | Upgraded DOMPurify from 3.4.7 to 3.5.1. | EditorDompurifyDetachedSubtreeTest.ts, EditorNestedSvgXssTest.ts | b4991b9 |
| — | An SVG element is taken from the SVG sanitizer pass as a whole: the attributes of the root are sanitized, and a root the sanitizer rejects is removed. | EditorNestedSvgXssTest.ts | 9fee394 |
data-mce-…, mce:protected); in the rebranded editor42 build the same internals carry the editor42 names — see Technical Details & Compatibility. Both the editor42 and main builds contain every fix. The tests are in modules/tinymce/src/core/test/ts/browser/content/ of editor42com/editor42.
We checked these advisories against Editor42 for this release as well:
- DOMPurify. The ten advisories fixed between DOMPurify 3.4.8 and 3.4.18 (CVE-2026-65900, CVE-2026-65899, CVE-2026-65898, CVE-2026-66010, CVE-2026-75838, CVE-2026-109345, CVE-2026-116802, CVE-2026-116803, CVE-2026-116804 and GHSA-qm7q-q8h9-jg8q) and GHSA-hrxw-jjj6-2g2j, fixed in 3.5.0, are not exploitable in Editor42 42.0.0: they need DOMPurify options, hooks or a live document the editor does not use. 42.0.1 closes them by upgrading the bundled DOMPurify to 3.5.1 (
b4991b9,EditorDompurifyDetachedSubtreeTest.ts). - PrismJS. CVE-2024-53382 is not exploitable in Editor42 42.0.0. 42.0.1 closes it by upgrading the bundled PrismJS to 1.30.0 (
c5bda66,EditorPrismCurrentScriptTest.ts). - The TinyMCE media plugin. Editor42 is not affected by CVE-2026-116675. The issue was introduced in TinyMCE 7.9.3 and 8.5.1; Editor42 never contained that code.
What an integration can notice after the upgrade:
- The media plugin: a placeholder written by hand that names an element other than
iframe,video,audio,objectorembedyields nothing. The placeholders the plugin makes itself are unchanged. - SVG, where a configuration allows it: attributes on the
svgroot that the SVG profile does not know are dropped (event handlers, and alsofocusable, for example), and ansvgthe sanitizer rejects as a whole is removed, while the content that follows it is kept. - A zero width no-break space (U+FEFF) in a comment, a CDATA section, a processing instruction or raw text (
script,style, the fallback text of aniframe) makes it come out empty when it is parsed with the character still in it: througheditor.selection.setContentor a direct call of the parser.setContent,insertContentand paste remove the character before parsing, as before. - Emoticons, in the image mode with the default URL only: the images load from
https://cdnjs.cloudflare.com/ajax/libs/twemoji/15.1.0/72x72/(before,https://twemoji.maxcdn.com/v/13.0.1/72x72/). Every image the plugin can insert is there, and 44 of them are redrawn in Twemoji 15.1's artwork. A Content-Security-Policy whoseimg-srcnames the old host needs the new one, oremoticons_images_urlset to a host of your own. Content saved earlier keeps its URLs. - The base URL: nothing changes for a pre-init object, an editor loaded earlier, a script tag or a running script. From 42.0.1 the editor also starts on a page that gives an element the id
editor42(tinymcein themainbuild) ahead of the editor's script, such as<textarea id="editor42">; before, such a page set bothbase_urlandsuffix.
SAFE_FOR_XML
The editor calls DOMPurify with SAFE_FOR_XML: false, so that CDATA sections and conditional
comments survive sanitization. DOMPurify's check that removes a whole element whose text looks
like markup runs only when that flag is on, so an element whose content is raw text, such as an
iframe with fallback text, is kept. Every hook, the schema and the URL checks still run on
it, and what it holds stays text: an iframe keeps no javascript: source and no event
handler, and its fallback text is not parsed into elements. Several tests expect this shape.
The parser hands on empty any comment, and any raw text, that holds a zero width no-break space (U+FEFF): the editor removes that character from serialized HTML in several places, and removing it must not turn such text into markup.
Protected comments
Content that matches one of the editor's protect rules is kept in an mce:protected comment
while it is edited, and restored when the content is read back. A comment of that form is turned
back into markup only when one of the editor's own protect rules made it; any other one, such
as one that arrives with the content, stays a comment. (In the default build the marker is
editor42:protected.)
Reporting a vulnerability
If you believe you have found a security issue in Editor42 — in any build or branch of the editor, in this website, or in our documentation examples — please report it to us privately:
Email infosec@editor42.com. Please do not open a public GitHub issue or disclose the problem publicly before we have had a chance to fix it.
A useful report ideally includes:
- the Editor42 version and build (
editor42ormain) you tested; - a minimal reproduction — the editor configuration plus the content or steps that trigger the issue;
- what an attacker gains (the impact as you understand it);
- how you would like to be credited, if at all.
What you can expect from us:
- we read every report and reply as quickly as we can;
- if the issue is confirmed, we work on a fix — shipped as its own commit with regression tests, listed in the changelog and on this page;
- credit for the find, unless you prefer to stay anonymous.
We ask that you give us a reasonable amount of time to investigate and release a fix before any public disclosure. We do not currently run a paid bug-bounty program.
This contact is also published in machine-readable form at editor42.com/.well-known/security.txt (RFC 9116).
For ordinary, non-security bugs, please use the public GitHub issue tracker instead.
For general, non-security questions — licensing, using Editor42 in your product, or anything else — email hello@editor42.com. Please keep infosec@editor42.com for security reports only, so the two don't get mixed up.