Skip to content
OpenAdvisories
Medium · 5.1 CVE-2024-45613 EUVD-2024-2865GHSA-rgg8-g5x8-wr9v

CKEditor 5 has Cross-site Scripting vulnerability in the clipboard package

Published Sep 25, 2024 · Updated Oct 1, 2024 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
ckeditor ckeditor5 >= 40.0.0, < 43.1.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS request-tracker4 +1 No fix yet —
Ubuntu 25.10 request-tracker4 +1 No fix yet —
Ubuntu 24.04 LTS ckeditor3 +2 No fix yet —
Ubuntu 22.04 LTS ckeditor3 +2 No fix yet —
Ubuntu 20.04 LTS ckeditor3 +2 No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS ckeditor3 +1 No fix yet —
Ubuntu 16.04 LTS request-tracker4 +1 No fix yet —
Ubuntu Pro 18.04 LTS request-tracker4 No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @ckeditor/ckeditor5-clipboard >= 40.0.0, < 43.1.1 43.1.1 GHSA-rgg8-g5x8-wr9v
npm ckeditor5 >= 40.0.0, < 43.1.1 43.1.1 GHSA-rgg8-g5x8-wr9v

Advisories 3

References