Vulnerability · Published Jun 19, 2024 · Assigned by GitHub_M
CVE-2024-38357TinyMCE Cross-Site Scripting (XSS) vulnerability using noscript elements
Medium 6.1
In plain English
A medium-severity cross-site scripting in tinymce from tinymce. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| NuGet | tinymce | 7.2.0 | GHSA-w9jx-4g6g-rp7x |
| NuGet | tinymce | 5.11.0 | GHSA-w9jx-4g6g-rp7x |
| NuGet | tinymce | 6.8.4 | GHSA-w9jx-4g6g-rp7x |
| Packagist | tinymce/tinymce | 6.8.4 | GHSA-w9jx-4g6g-rp7x |
| Packagist | tinymce/tinymce | 5.11.0 | GHSA-w9jx-4g6g-rp7x |
| Packagist | tinymce/tinymce | 7.2.0 | GHSA-w9jx-4g6g-rp7x |
| PyPI | django-tinymce | 4.1.0 | PYSEC-2026-1302 |
| PyPI | django-tinymce | 4.1.0 | GHSA-w9jx-4g6g-rp7x |
| Ubuntu:25.10 | roundcube | no fix listed | UBUNTU-CVE-2024-38357 |
| Ubuntu:26.10 | roundcube | no fix listed | UBUNTU-CVE-2024-38357 |
| npm | tinymce | 7.2.0 | GHSA-w9jx-4g6g-rp7x |
| npm | tinymce | 6.8.4 | GHSA-w9jx-4g6g-rp7x |
| npm | tinymce | 5.11.0 | GHSA-w9jx-4g6g-rp7x |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
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