CVE-2025-58064: CKEditor 5 cross-site scripting in clipboard package

CVE-2025-58064 · Severity: medium · CVSS 4 · Published 2025-09-03

CKEditor 5 is a rich-text editor used to enable users to author content within web applications. A cross-site scripting (XSS) vulnerability in its clipboard component allows attackers to execute arbitrary JavaScript code in a user's browser if they can insert malicious content into the editor through specific configurations (such as when HTML embed or custom RawElement plugins are enabled). This could lead to session hijacking, credential theft, or manipulation of user data.

Technologies: CKEditor 5. Vendors: CKEditor.

Quick answers

Is CVE-2025-58064 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-58064 being exploited in the wild.
How severe is CVE-2025-58064?
Medium severity, with a CVSS score of 4, published 3 September 2025.
Which products and versions are affected?
CKEditor 5 44.2.0 to 46.0.2; CKEditor 5 Clipboard 44.2.0 to 46.0.2.
Is there a fix for CVE-2025-58064?
A patch was published on 2025-09-03: Patches available in CKEditor 5 versions 46.0.3+ and 45.2.2 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2025-58064 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2025-58064?
Check whether you run CKEditor 5 or CKEditor 5 Clipboard at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

CKEditor 5 contains a reflected XSS vulnerability (CWE-79) in the clipboard package. The vulnerability is triggered when a user performs a specific action (such as pasting or copying) on malicious content inserted into the editor, and only manifests when certain editor configurations are active—specifically when the HTML embed plugin or a custom plugin implementing a RawElement are enabled. Exploitation requires network reachability and user interaction (a specific clipboard action), with no authentication required. An attacker can achieve unauthorized JavaScript execution in the user's browser context. Patches are available: version 46.0.3 and above, and version 45.2.2, fix the issue.

Affected products

  • CKEditor CKEditor 5 44.2.0 to 46.0.2
  • CKEditor CKEditor 5 Clipboard 44.2.0 to 46.0.2

Identifiers

  • CVE-2025-58064
  • GHSA-x9gp-vjh6-3wv6

Timeline

  • 2025-09-03: disclosed: Vulnerability published via GHSA-x9gp-vjh6-3wv6
  • 2025-09-03: patched: Patches available in CKEditor 5 versions 46.0.3+ and 45.2.2

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.