An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS12NjI2LXI3NzQtajdmOM4AA3Mj

TinyMCE vulnerable to mutation Cross-site Scripting via special characters in unescaped text nodes


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. Such mutations occur when serialised HTML content is processed before being stored in the undo stack, or when the following APIs and plugins are used:


This vulnerability has been patched in TinyMCE 6.7.3 by:


To avoid this vulnerability:


Tiny Technologies would like to thank Masato Kinugawa of Cure53 for discovering this vulnerability.


For more information

Email us at [email protected] Open an issue in the TinyMCE repo

Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 13 days ago
Updated: 13 days ago

CVSS Score: 6.1
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Identifiers: GHSA-v626-r774-j7f8, CVE-2023-48219

Affected Packages

Versions: >= 6.0.0, < 6.7.3, < 5.10.9
Fixed in: 6.7.3, 5.10.9
Versions: >= 6.0.0, < 6.7.3, < 5.10.9
Fixed in: 6.7.3, 5.10.9
Versions: >= 6.0.0, < 6.7.3, < 5.10.9
Fixed in: 6.7.3, 5.10.9