CVE-2026-47759
JSON

8.7high

TinyMCE Cross-Site Scripting (XSS) vulnerability using through data-mce- prefixed src, href, style attributes

Severity
8.7high CVSS:3.1 by GitHub_M
Exploit likelihood
0.42% (higher than 28% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-q742-qvgc-gc2f

Description

TinyMCE is an open source rich text editor. Prior to 5.11.1, 7.9.3, and 8.5.1, there is a stored XSS vulnerability via unsanitized data-mce-* attributes (data-mce-href, data-mce-src, data-mce-style). Allows attackers to inject malicious values that override safe attributes during serialization, bypassing validation. This vulnerability is fixed in 5.11.1, 7.9.3, and 8.5.1.

Affected

Product or packageVersionsReported by
tinymce tinymce< 5.11.1, >= 6.0.0, <= 6.8.6, >= 7.0.0, < 7.9.3, >= 8.0.0, < 8.5.1CVE List
tinymce (npm)up to 5.10.9, from 6.0.0 before 7.9.3, from 8.0.0 before 8.5.1GitHub Advisory Database
TinyMCE (NuGet)up to 5.10.9, from 6.0.0 before 7.9.3, from 8.0.0 before 8.5.1GitHub Advisory Database
tinymce/tinymce (Packagist)up to 5.10.9, from 6.0.0 before 7.9.3, from 8.0.0 before 8.5.1GitHub Advisory Database
tiny tinymcebefore 5.11.1, from 6.0.0 before 7.9.3, from 8.0.0 before 8.5.1NVD

All scores

GitHub_M8.7high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
GitHub8.7high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

TinyMCE is an open source rich text editor. Prior to 5.11.1, 7.9.3, and 8.5.1, there is a stored XSS vulnerability via unsanitized data-mce-* attributes (data-mce-href, data-mce-src, data-mce-style). Allows attackers to inject malicious values that override safe attributes during serialization, bypassing validation. This vulnerability is fixed in 5.11.1, 7.9.3, and 8.5.1.

GitHub Advisory Database
Impact

Stored XSS vulnerability via unsanitized data-mce-* attributes (data-mce-href, data-mce-src, data-mce-style). Allows attackers to inject malicious values that override safe attributes during serialization, bypassing validation.

Patches

Patched by stripping unsafe data-mce-* attributes during parsing. Users should upgrade to the latest patched versions (5 LTS, 7.x, 8.x).

Workarounds

No official workaround available.

Fix

To avoid this vulnerability:

Upgrade to TinyMCE 8.5.1 or higher. Upgrade to TinyMCE 7.9.3 or higher. Upgrade to TinyMCE 5.11.1 LTS or higher for TinyMCE 5.x (only available as part of commercial long-term support contract).

Acknowledgements

Tiny thanks Tadi Kadango (website) and Ivan Babenko for their help identifying this vulnerability.

NVD (es)

TinyMCE es un editor de texto enriquecido de código abierto. En versiones anteriores a 5.11.1, 7.9.3 y 8.5.1, existe una vulnerabilidad XSS almacenada a través de atributos data-mce-* no saneados (data-mce-href, data-mce-src, data-mce-style). Permite a los atacantes inyectar valores maliciosos que sobrescriben atributos seguros durante la serialización, eludiendo la validación. Esta vulnerabilidad se ha corregido en 5.11.1, 7.9.3 y 8.5.1.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-47759 changed 2026-05-30CVE Terms of Use
GitHub Advisory DatabaseGHSA-q742-qvgc-gc2f changed 2026-09-10CC-BY-4.0
NVDCVE-2026-47759 changed 2026-10-14Public domain