CKEditor 5 has Cross-site Scripting vulnerability in the clipboard package
ckeditor5
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| ckeditor5 npm |
|
|
| @ckeditor/ckeditor5-clipboard npm |
|
|
ckeditor5
| Product | Affected | Fixed in |
|---|---|---|
| ckeditor5 npm |
|
|
| @ckeditor/ckeditor5-clipboard npm |
|
|
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.
From the CVE record · GitHub_M
The CKEditor 5 clipboard package has an XSS vulnerability that can execute attacker-supplied JavaScript after a specific user action if an attacker gets malicious content into the editor. It affects only installations with the Block Toolbar plugin enabled alongside either General HTML Support configured to allow unsafe markup or the HTML Embed plugin.
Check installations using npm ckeditor5 or @ckeditor/ckeditor5-clipboard versions 40.0.0 through 43.1.0 with the affected plugin configuration.