CVE-2024-38357: TinyMCE Cross-Site Scripting (XSS) vulnerability using noscript elements

Published Jun 19, 2024
·
Updated

Impact A cross-site scripting (XSS) vulnerability was discovered in TinyMCE’s content parsing code. This allowed specially crafted noscript elements containing malicious code to be executed when that content was loaded into 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 content within noscript elements are properly parsed.

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

Acknowledgements Tiny thanks Malav Khatri and another reporter for their help identifying this vulnerability.

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 parsing code. This allowed specially crafted noscript elements containing malicious code to be executed when that content was loaded into 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 content within noscript elements are properly parsed. 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-38357?

CVE-2024-38357 is categorized as a cross-site scripting (XSS) vulnerability, which can lead to the execution of malicious scripts in a user's browser.

2

How do I fix CVE-2024-38357?

To fix CVE-2024-38357, upgrade your TinyMCE package to version 7.2.0 or 6.8.4, depending on your current version.

3

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

CVE-2024-38357 affects TinyMCE versions from 6.0.0 up to 6.8.4 and from 7.0.0 up to 7.2.0.

4

What kind of attacks can exploit CVE-2024-38357?

CVE-2024-38357 can be exploited through cross-site scripting attacks, allowing attackers to inject malicious scripts into web pages.

5

Is my application safe if I am using a version lower than 5.11.0 of TinyMCE?

Applications using TinyMCE versions lower than 5.11.0 are not affected by CVE-2024-38357 but should still be reviewed for other vulnerabilities.

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