CVE-2024-45613
Medium · 6.1CVSS
6.1
EPSS
0.5%
Published
Sep 25, 2024
CISA due date
—
Cloudanix analysis
A flaw in a common web text editor can let attackers run harmful code inside users' browsers when certain advanced editing features are turned on and a user interacts with the content.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Data Exposure
- Component
- Web Framework
- Class
- XSS
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Cross-Site Scripting (XSS) in the clipboard package allows unauthorized JavaScript execution when malicious content is inserted into the editor under specific configurations (Block Toolbar enabled plus General HTML Support with unsafe markup or HTML Embed plugin).
Why it matters to the business
Applications embedding the editor face risk of script execution in user browsers, potentially leading to session hijacking, data exfiltration, or unauthorized actions; the issue affects widely used downstream projects such as XWiki with remediation deadlines adding operational urgency.
How an attack unfolds
An attacker prepares malicious markup permitted by the enabled HTML support or embed features, delivers it for insertion into the editor (e.g., via clipboard), and relies on a victim performing a specific action with the Block Toolbar to trigger execution of the injected script.
How to fix it
Upgrade CKEditor 5 to version 43.1.1 or later; for XWiki apply the fixed versions 13.7-rc-1, 13.4.3 or 12.10.9; as a temporary mitigation disable the Block Toolbar plugin.
How to confirm the fix worked
Verify the editor version against the fixed release or commit 6b1e550ba3eee4618f36258ee2ed7cbbc2361246, confirm the Block Toolbar plugin is either removed or the unsafe HTML configuration is disabled, and retest editor input handling with known malicious payloads.
Typical attack path
- Identify a target application using a vulnerable CKEditor 5 version with the required plugin combination enabled
- Craft and deliver malicious content containing executable script via clipboard or editor input
- Induce the victim to perform the specific user action involving the Block Toolbar
- Execute arbitrary JavaScript in the victim's browser context
How to detect it
Review application logs for unexpected script execution or clipboard events involving the Block Toolbar plugin, inspect stored editor content for suspicious markup patterns, and correlate with user reports of unexpected behavior in rich-text fields.
What your security team should do
- Immediately inventory all deployments of CKEditor 5 and dependent products such as XWiki to identify vulnerable instances
- Prioritize upgrade to the fixed versions listed for each affected package
- Audit editor configurations to disable Block Toolbar or restrict unsafe HTML support where possible
- Monitor EPSS trend and re-evaluate exploit maturity as new information emerges
The record
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
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | @ckeditor/ckeditor5-clipboard | 40.0.0 | 43.1.1 |
| npm | ckeditor5 | 40.0.0 | 43.1.1 |
| Ubuntu:16.04:LTS | ldap-account-manager | 0 | No fix |
| Ubuntu:16.04:LTS | request-tracker4 | 0 | No fix |
| Ubuntu:18.04:LTS | ckeditor3 | 0 | No fix |
| Ubuntu:18.04:LTS | ldap-account-manager | 0 | No fix |
| Ubuntu:20.04:LTS | ckeditor | 0 | No fix |
| Ubuntu:20.04:LTS | ckeditor3 | 0 | No fix |
| Ubuntu:20.04:LTS | ldap-account-manager | 0 | No fix |
| Ubuntu:20.04:LTS | request-tracker4 | 0 | No fix |
| Ubuntu:22.04:LTS | ckeditor | 0 | No fix |
| Ubuntu:22.04:LTS | ckeditor3 | 0 | No fix |
| Ubuntu:22.04:LTS | ldap-account-manager | 0 | No fix |
| Ubuntu:22.04:LTS | request-tracker4 | 0 | No fix |
| Ubuntu:24.04:LTS | ckeditor | 0 | No fix |
| Ubuntu:24.04:LTS | ckeditor3 | 0 | No fix |
| Ubuntu:24.04:LTS | ldap-account-manager | 0 | No fix |
| Ubuntu:24.04:LTS | request-tracker4 | 0 | No fix |
| Ubuntu:24.10 | ckeditor | 0 | No fix |
| Ubuntu:24.10 | ckeditor3 | 0 | No fix |
| Ubuntu:24.10 | ldap-account-manager | 0 | No fix |
| Ubuntu:24.10 | request-tracker4 | 0 | No fix |
| Ubuntu:25.04 | ckeditor3 | 0 | No fix |
| Ubuntu:25.04 | ldap-account-manager | 0 | No fix |
| Ubuntu:25.04 | request-tracker4 | 0 | No fix |
| Ubuntu:25.10 | ckeditor3 | 0 | No fix |
| Ubuntu:25.10 | ldap-account-manager | 0 | No fix |
| Ubuntu:25.10 | request-tracker4 | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | ckeditor | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | ldap-account-manager | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | request-tracker4 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | ckeditor | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | ckeditor3 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | ldap-account-manager | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | request-tracker4 | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | ckeditor3 | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | ldap-account-manager | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | request-tracker4 | 0 | No fix |
Related vulnerabilities
- CVE-2026-28343 CKEditor 5 is a modern JavaScript rich-text editor with an MVC architecture. Also affects ckeditor5
- GHSA-jrqm-vmqc-gm93 CKEditor 5 has Cross-site Scripting (XSS) in the HTML Support package Also affects ckeditor5
- CVE-2024-52792 LDAP Account Manager (LAM) is a php webfrontend for managing entries (e.g. Also affects ldap-account-manager
- CVE-2024-43411 CKEditor4 is an open source what-you-see-is-what-you-get HTML editor. Also affects ldap-account-manager
- CVE-2024-23333 LDAP Account Manager (LAM) is a webfrontend for managing entries stored in an LDAP… Also affects ldap-account-manager
- CVE-2021-41164 CKEditor4 is an open source WYSIWYG HTML editor. Also affects ldap-account-manager
- CVE-2024-3262 Information exposure vulnerability in RT software affecting version 4.4.1. Also affects request-tracker4
- CVE-2023-41260 Best Practical Request Tracker (RT) before 4.4.7 and 5.x before 5.0.5 allows Information… Also affects request-tracker4