# Security

> Editor42 security policy — every CVE and security bug fixed in each release, and how to privately report a vulnerability to the Editor42 team.

Source: https://editor42.com/docs/security  
Every page of editor42.com has a Markdown copy at its URL + `.md` (`index.md` after a URL that ends in `/`); all of them are in one file: https://editor42.com/llms-full.txt

**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](https://editor42.com/docs/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](https://editor42.com/docs/about-this-fork/auditing).

## 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`](https://github.com/editor42com/editor42), so it can be read and verified on its own:

| Advisory | Security fix | Tests | Commit |
|---|---|---|---|
| [CVE-2026-47760](https://nvd.nist.gov/vuln/detail/CVE-2026-47760) | Fixed XSS via namespace scope confusion in nested SVG content. Original fix by the Editor42 team. | `EditorNamespaceScopeXssTest.ts` | [`16ae8af`](https://github.com/editor42com/editor42/commit/16ae8af0a8701ca97e5eec6998a2a299f0cc98cd) |
| [CVE-2026-47761](https://nvd.nist.gov/vuln/detail/CVE-2026-47761) | Fixed XSS via `data-mce-object` injection in the media plugin. Original fix by the Editor42 team. | `EditorMediaObjectInjectionTest.ts` | [`ff1b736`](https://github.com/editor42com/editor42/commit/ff1b7367d0b7f184278cdd565af0ef52accf3244) |
| [CVE-2026-47759](https://nvd.nist.gov/vuln/detail/CVE-2026-47759) | Fixed stored XSS via `data-mce-`prefixed attributes on input. Original fix by the Editor42 team. | `EditorDataMceAttributeTest.ts` | [`9b8dff8`](https://github.com/editor42com/editor42/commit/9b8dff800e35ec5b7b55210625b05404da300d57) |
| [CVE-2026-47762](https://nvd.nist.gov/vuln/detail/CVE-2026-47762) | Fixed stored XSS via `mce:protected` comments. Original fix by the Editor42 team. | `EditorProtectContentTest.ts` | [`9140365`](https://github.com/editor42com/editor42/commit/9140365fb8418950abfee3f3e644822b3b65721e) |
| [CVE-2024-29203](https://nvd.nist.gov/vuln/detail/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`](https://github.com/editor42com/editor42/commit/2a4ad314db45de53574d9daef7ff73ecfab9bd8a) |
| [CVE-2024-29881](https://nvd.nist.gov/vuln/detail/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`](https://github.com/editor42com/editor42/commit/4c65679f338cdab1b0bfb1ea8a96e99ca8e5319a) |
| — | Upgraded DOMPurify from 3.1.7 to 3.4.7, removed the patch-package workaround. | `EditorNestedSvgXssTest.ts`, `EditorContentTest.ts`, `InsertContentTest.ts` | [`0938c81`](https://github.com/editor42com/editor42/commit/0938c81888848c8411b40c7c6d2e06bf70d409ee) |

### 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`](https://github.com/editor42com/editor42), with the tests that prove it:

| Advisory | Security fix | Tests | Commit |
|---|---|---|---|
| [CVE-2026-47761](https://nvd.nist.gov/vuln/detail/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`](https://github.com/editor42com/editor42/commit/0517cde1f7c100f901f39b35b41ee1fd80192679) |
| — | 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`](https://github.com/editor42com/editor42/commit/606b309e9c996f82e6e76de8c79d87cbae6137d4) |
| — | Replaced the default host of emoticon images, whose domain had lapsed. | `EditorEmoticonsDefaultHostTest.ts` | [`96acc97`](https://github.com/editor42com/editor42/commit/96acc9742712525e7ef9e10b43722889cdd0b044) |
| — | 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`](https://github.com/editor42com/editor42/commit/4439662d1921346e1eabe47e226bcd8fb0f2e268) |
| — | Upgraded PrismJS from 1.29.0 to 1.30.0. | `EditorPrismCurrentScriptTest.ts` | [`c5bda66`](https://github.com/editor42com/editor42/commit/c5bda660f9b254d2b14c5edda32071c6050fd31b) |
| — | Upgraded DOMPurify from 3.4.7 to 3.5.1. | `EditorDompurifyDetachedSubtreeTest.ts`, `EditorNestedSvgXssTest.ts` | [`b4991b9`](https://github.com/editor42com/editor42/commit/b4991b959ee752e9f695f0ca7dff902993a73d68) |
| — | 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`](https://github.com/editor42com/editor42/commit/9fee394ed4a6bedd8546b020086967180731efd6) |

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](https://editor42.com/docs/about-this-fork/technical-specs). 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](https://nvd.nist.gov/vuln/detail/CVE-2026-65900), [CVE-2026-65899](https://nvd.nist.gov/vuln/detail/CVE-2026-65899), [CVE-2026-65898](https://nvd.nist.gov/vuln/detail/CVE-2026-65898), [CVE-2026-66010](https://nvd.nist.gov/vuln/detail/CVE-2026-66010), [CVE-2026-75838](https://nvd.nist.gov/vuln/detail/CVE-2026-75838), [CVE-2026-109345](https://nvd.nist.gov/vuln/detail/CVE-2026-109345), [CVE-2026-116802](https://nvd.nist.gov/vuln/detail/CVE-2026-116802), [CVE-2026-116803](https://nvd.nist.gov/vuln/detail/CVE-2026-116803), [CVE-2026-116804](https://nvd.nist.gov/vuln/detail/CVE-2026-116804) and [GHSA-qm7q-q8h9-jg8q](https://github.com/advisories/GHSA-qm7q-q8h9-jg8q)) and [GHSA-hrxw-jjj6-2g2j](https://github.com/advisories/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`](https://github.com/editor42com/editor42/commit/b4991b959ee752e9f695f0ca7dff902993a73d68), `EditorDompurifyDetachedSubtreeTest.ts`).
- **PrismJS.** [CVE-2024-53382](https://nvd.nist.gov/vuln/detail/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`](https://github.com/editor42com/editor42/commit/c5bda660f9b254d2b14c5edda32071c6050fd31b), `EditorPrismCurrentScriptTest.ts`).
- **The TinyMCE media plugin.** Editor42 is not affected by [CVE-2026-116675](https://nvd.nist.gov/vuln/detail/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`, `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](mailto: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](https://editor42.com/docs/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](https://editor42.com/.well-known/security.txt) (RFC 9116).

For ordinary, non-security bugs, please use the public [GitHub issue tracker](https://github.com/editor42com/editor42/issues) instead.

For general, non-security questions — licensing, using Editor42 in your product, or anything else — email [hello@editor42.com](mailto:hello@editor42.com). Please keep [infosec@editor42.com](mailto:infosec@editor42.com) for security reports only, so the two don't get mixed up.
