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

Published Jun 19, 2024
·
Updated

Impact A cross-site scripting (XSS) vulnerability was discovered in TinyMCE’s content extraction code. When using the noneditableregexp option, specially crafted HTML attributes containing malicious code were able to be executed when content was extracted from the editor.

Patches 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 noneditableregexp option, any content within an attribute is properly verified to match the configured regular expression before being added.

Fix To avoid this vulnerability:

Upgrade to TinyMCE 7.2.0 or higher. Upgrade to TinyMCE 6.8.4 or higher for TinyMCE 6.x. Upgrade to TinyMCE 5.11.0 LTS or higher for TinyMCE 5.x (only available as part of commercial long-term support contract).

References TinyMCE 6.8.4 TinyMCE 7.2.0

For more information If you have any questions or comments about this advisory:

Email us at infosec@tiny.cloud Open an issue in the TinyMCE repo

Other sources

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 noneditableregexp 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 noneditableregexp 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.

NVD

Affected Software

10 affected componentsFixes available
pip/django-tinymce<=4.0.0
4.1.0
composer/tinymce/tinymce>=7.0.0<7.2.0
7.2.0
composer/tinymce/tinymce>=6.0.0<6.8.4
6.8.4
nuget/TinyMCE>=7.0.0<7.2.0
7.2.0
nuget/TinyMCE>=6.0.0<6.8.4
6.8.4
npm/tinymce>=7.0.0<7.2.0
7.2.0
npm/tinymce>=6.0.0<6.8.4
6.8.4
composer/tinymce/tinymce<5.11.0
5.11.0
nuget/TinyMCE<5.11.0
5.11.0
npm/tinymce<5.11.0
5.11.0

Event History

Jun 19, 2024
Advisory Published
via GitHub·03:07 PM
CVE Published
via MITRE·08:03 PM
Data Sourced
via MITRE·08:03 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-38356?

CVE-2024-38356 is classified as a cross-site scripting (XSS) vulnerability which can potentially allow attackers to execute malicious scripts.

2

How do I fix CVE-2024-38356?

To fix CVE-2024-38356, upgrade TinyMCE to version 7.2.0, 6.8.4, or the corresponding remedied versions as specified for your package source.

3

Which versions of TinyMCE are affected by CVE-2024-38356?

CVE-2024-38356 affects TinyMCE versions between 6.0.0 and 6.8.4, and between 7.0.0 and 7.2.0, as well as versions prior to 5.11.0.

4

What is the impact of CVE-2024-38356?

The impact of CVE-2024-38356 is that it allows the execution of malicious scripts found in crafted HTML attributes when the noneditable_regexp option is used.

5

Is CVE-2024-38356 specific to certain package sources?

Yes, CVE-2024-38356 affects TinyMCE packages sourced from composer, npm, nuget, and pip.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203