Vulnerability · Published Jun 19, 2024 · Assigned by GitHub_M
CVE-2024-38356TinyMCE Cross-Site Scripting (XSS) vulnerability using noneditable_regexp option
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 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| NuGet | tinymce | 7.2.0 | GHSA-9hcv-j9pv-qmph |
| NuGet | tinymce | 5.11.0 | GHSA-9hcv-j9pv-qmph |
| NuGet | tinymce | 6.8.4 | GHSA-9hcv-j9pv-qmph |
| Packagist | tinymce/tinymce | 6.8.4 | GHSA-9hcv-j9pv-qmph |
| Packagist | tinymce/tinymce | 5.11.0 | GHSA-9hcv-j9pv-qmph |
| Packagist | tinymce/tinymce | 7.2.0 | GHSA-9hcv-j9pv-qmph |
| PyPI | django-tinymce | 4.1.0 | PYSEC-2026-1301 |
| PyPI | django-tinymce | 4.1.0 | GHSA-9hcv-j9pv-qmph |
| Ubuntu:25.10 | roundcube | no fix listed | UBUNTU-CVE-2024-38356 |
| Ubuntu:26.10 | roundcube | no fix listed | UBUNTU-CVE-2024-38356 |
| npm | tinymce | 7.2.0 | GHSA-9hcv-j9pv-qmph |
| npm | tinymce | 6.8.4 | GHSA-9hcv-j9pv-qmph |
| npm | tinymce | 5.11.0 | GHSA-9hcv-j9pv-qmph |
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-9hcv-j9pv-qmph 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