Skip to content
OpenAdvisories
Medium · 6.1 CVE-2023-48219 EUVD-2023-3037GHSA-v626-r774-j7f8

Special characters in unescaped text nodes can trigger mXSS in TinyMCE

Published Nov 15, 2023 · Updated Aug 29, 2024 · Assigned by GitHub_M

Description

TinyMCE is an open source rich text editor. A mutation cross-site scripting (mXSS) vulnerability was discovered in TinyMCE’s core undo/redo functionality and other APIs and plugins. Text nodes within specific parents are not escaped upon serialization according to the HTML standard. If such text nodes contain a special character reserved as an internal marker, they can be combined with other HTML patterns to form malicious snippets. These snippets pass the initial sanitisation layer when the content is parsed into the editor body, but can trigger XSS when the special internal marker is removed from the content and re-parsed. his vulnerability has been patched in TinyMCE versions 6.7.3 and 5.10.9. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Affected products

VendorProductAffectedFixed
tinymce tinymce >= 6.0.0 < 6.7.3, < 5.10.9 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS tinymce No fix yet —
Ubuntu 18.04 LTS tinymce No fix yet —
Ubuntu 16.04 LTS tinymce No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm tinymce < 5.10.9 5.10.9 GHSA-v626-r774-j7f8
npm tinymce >= 6.0.0, < 6.7.3 6.7.3 GHSA-v626-r774-j7f8
NuGet TinyMCE < 5.10.9 5.10.9 GHSA-v626-r774-j7f8
NuGet TinyMCE >= 6.0.0, < 6.7.3 6.7.3 GHSA-v626-r774-j7f8
Packagist tinymce/tinymce < 5.10.9 5.10.9 GHSA-v626-r774-j7f8
Packagist tinymce/tinymce >= 6.0.0, < 6.7.3 6.7.3 GHSA-v626-r774-j7f8

Advisories 1

References