CVEfocus › CVE database › CVE-2024-38356

CVE-2024-38356TinyMCE Cross-Site Scripting (XSS) vulnerability using noneditable_regexp option

CVSS 6.1 MediumEPSS 0.9% (higher than 59% of CVEs)Published 2024-06-19Updated 2024-08-02Assigner: GitHub_M

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.

CWE-79

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

3Fixed
4Fix pending
2Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10roundcubeFix pendingUBUNTU-CVE-2024-38356
Ubuntu 26.04roundcubeFix pendingUBUNTU-CVE-2024-38356
Ubuntu 25.10roundcubeWill not fix
roundcube includes tinymce source
UBUNTU-CVE-2024-38356
Ubuntu 24.04roundcubeFix pending1.6.6+dfsg-2ubuntu0.1+esm3 (Ubuntu Pro)UBUNTU-CVE-2024-38356
Ubuntu 22.04roundcubeFix pending1.5.0+dfsg.1-2ubuntu0.1~esm6 (Ubuntu Pro)UBUNTU-CVE-2024-38356
Ubuntu 20.04tinymceWill not fix
roundcube includes tinymce source
PyPI librarydjango-tinymceFixed4.1.0PYSEC-2026-1301
npm librarytinymceFixed5.11.0GHSA-9hcv-j9pv-qmph
Packagist librarytinymce/tinymceFixed6.8.4GHSA-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.

References

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.