CVE-2026-47761
JSON

8.7high

TinyMCE Cross-Site Scripting (XSS) vulnerability using media plugin `data-mce-object` injection

Severity
8.7high CVSS:3.1 by GitHub_M
Exploit likelihood
0.26% (higher than 19% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-vg35-5wq7-3x7w

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 in the media plugin. Attackers can inject malicious scripts via crafted data-mce-* attributes, which are executed when content is rendered. Impacts users of TinyMCE with the media plugin enabled. 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 in the media plugin. Attackers can inject malicious scripts via crafted data-mce-* attributes, which are executed when content is rendered. Impacts users of TinyMCE with the media plugin enabled. This vulnerability is fixed in 5.11.1, 7.9.3, and 8.5.1.

GitHub Advisory Database
Impact

Stored XSS vulnerability in the media plugin. Attackers can inject malicious scripts via crafted data-mce-* attributes, which are executed when content is rendered. Impacts users of TinyMCE with the media plugin enabled.

Patches

This vulnerability has been patched in TinyMCE 8.5.1, TinyMCE 7.9.3 and TinyMCE 5.11.1 LTS by ensuring that, when using the media plugin, any content with data-mce-object and data-mce-p-* attributes are properly sanitized.

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 Aymane MAZGUITI and Ange Primiterra for their help identifying this vulnerability.

NVD (es)

TinyMCE es un editor de texto enriquecido de código abierto. Anteriormente a las versiones 5.11.1, 7.9.3 y 8.5.1, existe una vulnerabilidad XSS almacenada en el plugin de medios. Los atacantes pueden inyectar scripts maliciosos a través de atributos data-mce-* manipulados, los cuales se ejecutan cuando el contenido es renderizado. Afecta a los usuarios de TinyMCE con el plugin de medios habilitado. Esta vulnerabilidad está corregida en las versiones 5.11.1, 7.9.3 y 8.5.1.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-47761 changed 2026-05-28CVE Terms of Use
GitHub Advisory DatabaseGHSA-vg35-5wq7-3x7w changed 2026-09-10CC-BY-4.0
NVDCVE-2026-47761 changed 2026-10-14Public domain