Skip to content

Cross-site scripting (XSS) in the clipboard package

Moderate
Mgsy published GHSA-x9gp-vjh6-3wv6 Sep 3, 2025

Package

npm @ckeditor/ckeditor5-clipboard (npm)

Affected versions

44.2.0-46.0.2

Patched versions

>=46.0.3, 45.2.2
npm ckeditor5 (npm)
44.2.0-46.0.2
>=46.0.3, 45.2.2

Description

Impact

A Cross-Site Scripting (XSS) vulnerability has been discovered 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 one of the following criteria:

Patches

The problem has been recognized and patched. The fix will be available in version 46.0.3 (and above), and explicitly in version 45.2.2.

For more information

Email us at [email protected] if you have any questions or comments about this advisory.

Severity

Moderate

CVE ID

CVE-2025-58064

Weaknesses

No CWEs