CVE-2024-38356TinyMCE Cross-Site Scripting (XSS) vulnerability using noneditable_regexp option
TinyMCE is an open source rich text editor. A cross-site scripting (XSS) vulnerability was discovered in TinyMCE’s content extraction code. When using the `noneditable_regexp` option, specially crafted HTML attributes containing malicious code were able to be executed when content was extracted from 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, when using the `noneditable_regexp` option, any content within an attribute is properly verified to match the configured regular expression before being added. Users are advised to upgrade. There are no known workarounds for this vulnerability.
What to do
Fixed builds are available from Packagist, PyPI, npm: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | roundcube | Fix pending | UBUNTU-CVE-2024-38356 | |
| Ubuntu 26.04 | roundcube | Fix pending | UBUNTU-CVE-2024-38356 | |
| Ubuntu 25.10 | roundcube | Will not fix roundcube includes tinymce source | UBUNTU-CVE-2024-38356 | |
| Ubuntu 24.04 | roundcube | Fix pending | 1.6.6+dfsg-2ubuntu0.1+esm3 (Ubuntu Pro) | UBUNTU-CVE-2024-38356 |
| Ubuntu 22.04 | roundcube | Fix pending | 1.5.0+dfsg.1-2ubuntu0.1~esm6 (Ubuntu Pro) | UBUNTU-CVE-2024-38356 |
| Ubuntu 20.04 | tinymce | Will not fix roundcube includes tinymce source | ||
| PyPI library | django-tinymce | Fixed | 4.1.0 | PYSEC-2026-1301 |
| npm library | tinymce | Fixed | 5.11.0 | GHSA-9hcv-j9pv-qmph |
| Packagist library | tinymce/tinymce | Fixed | 6.8.4 | GHSA-9hcv-j9pv-qmph |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- tinymce: affected: < 5.11.0, >= 6.0.0, <6.8.4, >= 7.0.0, < 7.2.0
References
- https://github.com/tinymce/tinymce/security/advisories/GHSA-9hcv-j9pv-qmph
- 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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.