NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2025-58064: CKEditor 5 cross-site scripting (XSS) vulnerability in the clipboard package

lowCVSS 4.0 2.3GHSA-x9gp-vjh6-3wv6

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.

Published Sep 3, 2025 · Updated Sep 4, 2025

Affected packages

ckeditor5

Ecosystem
npm
Affected
>= 46.0.0, < 46.0.3
Fixed in
46.0.3
Check
npm ls ckeditor5

@ckeditor/ckeditor5-clipboard

Ecosystem
npm
Affected
>= 44.2.0, < 45.2.2
Fixed in
45.2.2
Check
npm ls @ckeditor/ckeditor5-clipboard

ckeditor5

Ecosystem
npm
Affected
>= 44.2.0, < 45.2.2
Fixed in
45.2.2
Check
npm ls ckeditor5

@ckeditor/ckeditor5-clipboard

Ecosystem
npm
Affected
>= 46.0.0, < 46.0.3
Fixed in
46.0.3
Check
npm ls @ckeditor/ckeditor5-clipboard

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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]](mailto:[email protected]) if you have any questions or comments about this advisory.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries