CVE-2024-38357
JSON

6.1medium

TinyMCE Cross-Site Scripting (XSS) vulnerability using noscript elements

Severity
6.1medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.53% (higher than 46% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-w9jx-4g6g-rp7xPYSEC-2026-1302

Description

TinyMCE is an open source rich text editor. A cross-site scripting (XSS) vulnerability was discovered in TinyMCE’s content parsing code. This allowed specially crafted noscript elements containing malicious code to be executed when that content was loaded into the editor. This vulnerability has been patched in TinyMCE 7.2.0, TinyMCE 6.8.4 and TinyMCE 5.11.0 LTS by ensuring that content within noscript elements are properly parsed. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Affected

Product or packageVersionsReported by
tinymce tinymce< 5.11.0, >= 6.0.0, <6.8.4, >= 7.0.0, < 7.2.0CVE List
tinymce (npm)before 5.11.0, from 6.0.0 before 6.8.4, from 7.0.0 before 7.2.0GitHub Advisory Database
TinyMCE (NuGet)before 5.11.0, from 6.0.0 before 6.8.4, from 7.0.0 before 7.2.0GitHub Advisory Database
tinymce/tinymce (Packagist)before 5.11.0, from 6.0.0 before 6.8.4, from 7.0.0 before 7.2.0GitHub Advisory Database
django-tinymce (PyPI)before 4.1.0GitHub Advisory Database, PyPA Advisory Database

All scores

GitHub_M6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHub6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:N/SI:L/SA:L
PyPA Advisory Database6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:N/SI:L/SA:L

Classification

CWE-79

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

What each source says

CVE List

TinyMCE is an open source rich text editor. A cross-site scripting (XSS) vulnerability was discovered in TinyMCE’s content parsing code. This allowed specially crafted noscript elements containing malicious code to be executed when that content was loaded into the editor. This vulnerability has been patched in TinyMCE 7.2.0, TinyMCE 6.8.4 and TinyMCE 5.11.0 LTS by ensuring that content within noscript elements are properly parsed. Users are advised to upgrade. There are no known workarounds for this vulnerability.

GitHub Advisory Database
Impact

A cross-site scripting (XSS) vulnerability was discovered in TinyMCE’s content parsing code. This allowed specially crafted noscript elements containing malicious code to be executed when that content was loaded into the editor.

Patches

This vulnerability has been patched in TinyMCE 7.2.0, TinyMCE 6.8.4 and TinyMCE 5.11.0 LTS by ensuring that content within noscript elements are properly parsed.

Fix

To avoid this vulnerability:

  • Upgrade to TinyMCE 7.2.0 or higher.
  • Upgrade to TinyMCE 6.8.4 or higher for TinyMCE 6.x.
  • Upgrade to TinyMCE 5.11.0 LTS or higher for TinyMCE 5.x (only available as part of commercial long-term support contract).
Acknowledgements

Tiny thanks Malav Khatri and another reporter for their help identifying this vulnerability.

References
For more information

If you have any questions or comments about this advisory:

NVD (es)

TinyMCE es un editor de texto enriquecido de código abierto. Se descubrió una vulnerabilidad de cross-site scripting (XSS) en el código de análisis de contenido de TinyMCE. Esto permitió que se ejecutaran elementos noscript especialmente manipulados que contenían código malicioso cuando ese contenido se cargaba en el editor. Esta vulnerabilidad se ha solucionado en TinyMCE 7.2.0, TinyMCE 6.8.4 y TinyMCE 5.11.0 LTS garantizando que el contenido dentro de los elementos noscript se analice correctamente. Se recomienda a los usuarios que actualicen. No se conocen workarounds para esta vulnerabilidad.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-38357 changed 2024-08-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-w9jx-4g6g-rp7x changed 2026-09-10CC-BY-4.0
NVDCVE-2024-38357 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-1302 changed 2026-07-07CC-BY-4.0