Vulnerability · Published Sep 25, 2024 · Assigned by GitHub_M
CVE-2024-45613CKEditor 5 has Cross-site Scripting vulnerability in the clipboard package
Medium 5.1
In plain English
A medium-severity cross-site scripting in ckeditor5 from ckeditor. 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
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu:22.04:LTS | ckeditor3 | no fix listed | UBUNTU-CVE-2024-45613 |
| Ubuntu:24.04:LTS | ckeditor3 | no fix listed | UBUNTU-CVE-2024-45613 |
| Ubuntu:22.04:LTS | ldap-account-manager | no fix listed | UBUNTU-CVE-2024-45613 |
| Ubuntu:24.04:LTS | ldap-account-manager | no fix listed | UBUNTU-CVE-2024-45613 |
| Ubuntu:25.10 | ldap-account-manager | no fix listed | UBUNTU-CVE-2024-45613 |
| Ubuntu:26.04:LTS | ldap-account-manager | no fix listed | UBUNTU-CVE-2024-45613 |
| Ubuntu:22.04:LTS | request-tracker4 | no fix listed | UBUNTU-CVE-2024-45613 |
| Ubuntu:24.04:LTS | request-tracker4 | no fix listed | UBUNTU-CVE-2024-45613 |
| Ubuntu:25.10 | request-tracker4 | no fix listed | UBUNTU-CVE-2024-45613 |
| Ubuntu:26.04:LTS | request-tracker4 | no fix listed | UBUNTU-CVE-2024-45613 |
| npm | @ckeditor/ckeditor5-clipboard | 43.1.1 | GHSA-rgg8-g5x8-wr9v |
| npm | ckeditor5 | 43.1.1 | GHSA-rgg8-g5x8-wr9v |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
References
- https://github.com/ckeditor/ckeditor5/security/advisories/GHSA-rgg8-g5x8-wr9v x_refsource_CONFIRM
- https://github.com/ckeditor/ckeditor5/releases/tag/v43.1.1 x_refsource_MISC