CVE-2024-45613: Cross-site scripting (XSS) in the clipboard package
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.
Published Sep 25, 2024 · Updated Oct 15, 2024
Affected packages
ckeditor5
- Ecosystem
- npm
- Affected
- >= 40.0.0, < 43.1.1
- Fixed in
- 43.1.1
- Check
npm ls ckeditor5
@ckeditor/ckeditor5-clipboard
- Ecosystem
- npm
- Affected
- >= 40.0.0, < 43.1.1
- Fixed in
- 43.1.1
- Check
npm ls @ckeditor/ckeditor5-clipboard
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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:
- The **Block Toolbar** plugin is enabled.
- 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 [[email protected]](mailto:[email protected]) if you have any questions or comments about this advisory.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-116687
CKEditor: Cross-site scripting (XSS) in the engine package
low3.1Oct 27, 2026CVE-2026-116688
CKEditor: Cross-site scripting (XSS) in the engine package
high8.1Oct 27, 2026CVE-2026-28343
CKEditor 5 has Cross-site Scripting (XSS) in the HTML Support package
medium6.4Mar 4, 2026CVE-2025-58064
CKEditor 5 cross-site scripting (XSS) vulnerability in the clipboard package
low2.3Sep 3, 2025
