Skip to main content

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:

AdvisorySecurity fixTestsCommit
CVE-2026-47760Fixed XSS via namespace scope confusion in nested SVG content. Original fix by the Editor42 team.EditorNamespaceScopeXssTest.ts16ae8af
CVE-2026-47761Fixed XSS via data-mce-object injection in the media plugin. Original fix by the Editor42 team.EditorMediaObjectInjectionTest.tsff1b736
CVE-2026-47759Fixed stored XSS via data-mce-prefixed attributes on input. Original fix by the Editor42 team.EditorDataMceAttributeTest.ts9b8dff8
CVE-2026-47762Fixed stored XSS via mce:protected comments. Original fix by the Editor42 team.EditorProtectContentTest.ts9140365
CVE-2024-29203Default 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.ts2a4ad31
CVE-2024-29881Default convert_unsafe_embeds to true. Cherry-picked from upstream's MIT-licensed patch 70a5a95fce (2024-02-09).EditorConvertUnsafeEmbedsTest.ts, EditorContentTest.ts4c65679
—Upgraded DOMPurify from 3.1.7 to 3.4.7, removed the patch-package workaround.EditorNestedSvgXssTest.ts, EditorContentTest.ts, InsertContentTest.ts0938c81

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:

AdvisorySecurity fixTestsCommit
CVE-2026-47761Extended 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.ts0517cde
—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.ts606b309
—Replaced the default host of emoticon images, whose domain had lapsed.EditorEmoticonsDefaultHostTest.ts96acc97
—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.ts4439662
—Upgraded PrismJS from 1.29.0 to 1.30.0.EditorPrismCurrentScriptTest.tsc5bda66
—Upgraded DOMPurify from 3.4.7 to 3.5.1.EditorDompurifyDetachedSubtreeTest.ts, EditorNestedSvgXssTest.tsb4991b9
—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.ts9fee394
The advisories and fixes are described in upstream TinyMCE terms (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:

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, object or embed yields nothing. The placeholders the plugin makes itself are unchanged.
  • SVG, where a configuration allows it: attributes on the svg root that the SVG profile does not know are dropped (event handlers, and also focusable, for example), and an svg the 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 an iframe) makes it come out empty when it is parsed with the character still in it: through editor.selection.setContent or a direct call of the parser. setContent, insertContent and 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 whose img-src names the old host needs the new one, or emoticons_images_url set 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 (tinymce in the main build) ahead of the editor's script, such as <textarea id="editor42">; before, such a page set both base_url and suffix.

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:

Contact

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 (editor42 or main) 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.