Advisory

GHSA-x9gp-vjh6-3wv6

Also known as: CVE-2025-58064

Summary

CKEditor 5 cross-site scripting (XSS) vulnerability in the clipboard package

Details

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2025-09-03 18:03 UTC
Modified
2025-09-04 13:51 UTC

Affected packages and fixes

ckeditor5

npm · All systems

Affected

  • introduced 46.0.0, fixed 46.0.3 (semver)

Fixed versions

46.0.3

Fix

@ckeditor/ckeditor5-clipboard

npm · All systems

Affected

  • introduced 44.2.0, fixed 45.2.2 (semver)

Fixed versions

45.2.2

Fix

ckeditor5

npm · All systems

Affected

  • introduced 44.2.0, fixed 45.2.2 (semver)

Fixed versions

45.2.2

Fix

@ckeditor/ckeditor5-clipboard

npm · All systems

Affected

  • introduced 46.0.0, fixed 46.0.3 (semver)

Fixed versions

46.0.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences