Skip to content
OpenAdvisories
Medium · 6.1 CVE-2024-38356 EUVD-2024-2005GHSA-9hcv-j9pv-qmphPYSEC-2026-1301

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

Published Jun 19, 2024 · Updated Aug 2, 2024 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
tinymce tinymce < 5.11.0, >= 6.0.0, <6.8.4, >= 7.0.0, < 7.2.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 roundcube No fix yet —
Ubuntu 25.10 roundcube No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS roundcube No fix yet —
Ubuntu Pro 24.04 LTS roundcube 1.6.6+dfsg-2ubuntu0.1+esm3 —
Ubuntu Pro 22.04 LTS roundcube 1.5.0+dfsg.1-2ubuntu0.1~esm6 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm tinymce < 5.11.0 5.11.0 GHSA-9hcv-j9pv-qmph
npm tinymce >= 6.0.0, < 6.8.4 6.8.4 GHSA-9hcv-j9pv-qmph
npm tinymce >= 7.0.0, < 7.2.0 7.2.0 GHSA-9hcv-j9pv-qmph
NuGet TinyMCE < 5.11.0 5.11.0 GHSA-9hcv-j9pv-qmph
NuGet TinyMCE >= 6.0.0, < 6.8.4 6.8.4 GHSA-9hcv-j9pv-qmph
NuGet TinyMCE >= 7.0.0, < 7.2.0 7.2.0 GHSA-9hcv-j9pv-qmph
Packagist tinymce/tinymce < 5.11.0 5.11.0 GHSA-9hcv-j9pv-qmph
Packagist tinymce/tinymce >= 6.0.0, < 6.8.4 6.8.4 GHSA-9hcv-j9pv-qmph
Packagist tinymce/tinymce >= 7.0.0, < 7.2.0 7.2.0 GHSA-9hcv-j9pv-qmph
PyPI django-tinymce < 4.1.0 4.1.0 PYSEC-2026-1301

Advisories 5

References