Medium

Cross-site scripting (XSS) in the clipboard package

  • Disclosed: 25.09.2024
  • Updated: 11.10.2026 10:22

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:

  1. The Block Toolbar plugin is enabled.
  2. One of the following plugins is also enabled:

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 security@cksource.com if you have any questions or comments about this advisory.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
npm package ckeditor5 >= 40.0.0, < 43.1.1 43.1.1
npm package @ckeditor/ckeditor5-clipboard >= 40.0.0, < 43.1.1 43.1.1

References

CVSS score 7.2/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Weakness (CWE)
CWE-79
Platform
npm
Package
ckeditor5, @ckeditor/ckeditor5-clipboard
Disclosed
25.09.2024
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-rgg8-g5x8-wr9v - CC BY 4.0

Vulnerability history: @ckeditor/ckeditor5-clipboard

All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
2
First → latest
09.2024 09.2025
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Medium 1
  • Low 1

Disclosures per year

  1. 2024: 1
  2. 2025: 1
  3. 2026: 0
  1. Low CVE-2025-58064 >= 44.2.0, < 45.2.2, >= 46.0.0, < 46.0.3 45.2.2, 46.0.3
  2. Cross-site scripting (XSS) in the clipboard package this entry
    Medium · 7.2 CVE-2024-45613 >= 40.0.0, < 43.1.1 43.1.1

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.