CVE-2024-45613: CKEditor 5 has Cross-site Scripting vulnerability in the clipboard package

Published Sep 25, 2024
·
Updated

Impact During a recent internal audit, we identified a Cross-Site Scripting (XSS) vulnerability in the CKEditor 5 clipboard package. This vulnerability could be triggered by a specific user action, leading to unauthorized JavaScript code execution, if the attacker managed to insert a malicious content into the editor, which might happen with a very specific editor configuration.

This vulnerability affects only installations where the editor configuration meets the following criteria:

1. The Block Toolbar plugin is enabled. 1. One of the following plugins is also enabled: - General HTML Support with a configuration that permits unsafe markup. - HTML Embed.

Patches The problem has been recognized and patched. The fix will be available in version 43.1.1 (and above), and explicitly in version 41.3.2.

Workarounds It's highly recommended to update to the version 43.1.1 or higher. However, if the update is not an option, we recommend disabling the block toolbar plugin.

For more information Email us at security@cksource.com if you have any questions or comments about this advisory.

Other sources

CKEditor 5 is a JavaScript rich-text editor. Starting in version 40.0.0 and prior to version 43.1.1, a Cross-Site Scripting (XSS) vulnerability is present in the CKEditor 5 clipboard package. This vulnerability could be triggered by a specific user action, leading to unauthorized JavaScript code execution, if the attacker managed to insert a malicious content into the editor, which might happen with a very specific editor configuration. This vulnerability only affects installations where the Block Toolbar plugin is enabled and either the General HTML Support (with a configuration that permits unsafe markup) or the HTML Embed plugin is also enabled. A fix for the problem is available in version 43.1.1. As a workaround, one may disable the block toolbar plugin.

MITRE

CKEditor 5 is vulnerable to cross-site scripting, caused by improper validation of user-supplied input by the clipboard package. A remote attacker could exploit this vulnerability to inject malicious script into a Web page which would be executed in a victim's Web browser within the security context of the hosting Web site, once the page is viewed. An attacker could use this vulnerability to steal the victim's cookie-based authentication credentials.

IBM

Affected Software

5 affected componentsFixes available
npm/@ckeditor/ckeditor5-clipboard>=40.0.0<43.1.1
43.1.1
npm/ckeditor5>=40.0.0<43.1.1
43.1.1
CKEditor ckeditor5>=40.0.0<43.1.1
IBM OpenPages<=9.0
IBM OpenPages with Watson<=IBM OpenPages with Watson 8.3

Event History

Sep 25, 2024
CVE Published
via MITRE·01:27 PM
Data Sourced
via MITRE·01:27 PM
DescriptionWeakness
Advisory Published
via GitHub·06:13 PM
Feb 19, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

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-45613?

The severity of CVE-2024-45613 is classified as high due to its potential for unauthorized JavaScript code execution.

2

How do I fix CVE-2024-45613?

To fix CVE-2024-45613, upgrade to version 43.1.1 or later of the CKEditor 5 clipboard package.

3

What software is affected by CVE-2024-45613?

CVE-2024-45613 affects the CKEditor 5 clipboard package versions between 40.0.0 and 43.1.1.

4

What type of vulnerability is CVE-2024-45613?

CVE-2024-45613 is a Cross-Site Scripting (XSS) vulnerability.

5

Can CVE-2024-45613 be exploited by a user?

Yes, CVE-2024-45613 can be exploited through specific user actions that trigger the vulnerability.

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