CVE-2024-38357
TinyMCE Cross-Site Scripting (XSS) vulnerability using noscript elements
Reported by github_m · Published June 19, 2024
tinymce/tinymce is fixed in 7.2.0, 6.8.4 and 5.11.0 (Packagist)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| tinymce/tinymce | Packagist | 7.2.0, 6.8.4, 5.11.0 |
| TinyMCE | NuGet | 7.2.0, 6.8.4, 5.11.0 |
| django-tinymce | PyPI | 4.1.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| tinymce | tinymce | < 5.11.0, >= 6.0.0, <6.8.4, >= 7.0.0, < 7.2.0 |
| NuGet | TinyMCE | 7.0.0, 6.0.0, 0 |
| tinymce | tinymce | 0, 6.0.0, 7.0.0 |
| npm | tinymce | 0, 6.0.0, 7.0.0 |
| tinymce | tinymce | 7.0.0, 6.0.0, 0 |
| PyPI | django-tinymce | 0 |
Timeline
- Jun 19, 2024 CVE Published
- Jun 20, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (20 in total, the first dated here)
- Jan 8, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-38357
vulnetix vdb fixes CVE-2024-38357
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-38357/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/tinymce/tinymce/security/advisories/GHSA-w9jx-4g6g-rp7x x_refsource_CONFIRM
- https://github.com/tinymce/tinymce/commit/5acb741665a98e83d62b91713c800abbff43b00d x_refsource_MISC
- https://owasp.org/www-community/attacks/xss x_refsource_MISC
- https://www.tiny.cloud/docs/tinymce/6/6.8.4-release-notes/#overview x_refsource_MISC
- https://www.tiny.cloud/docs/tinymce/7/7.2-release-notes/#overview x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2024-38357 advisory
- https://github.com/advisories/GHSA-w9jx-4g6g-rp7x advisory
- https://github.com/tinymce/tinymce/commit/a9fb858509f86dacfa8b01cfd34653b408983ac0 patch
- https://github.com/tinymce/tinymce url