CKEditor 5 cross-site scripting (XSS) vulnerability in the clipboard package
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:
- HTML embed plugin is enabled
- Custom plugin introducing editable element which implements view
RawElementis enabled
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 security@cksource.com if you have any questions or comments about this advisory.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | ckeditor5 | >= 46.0.0, < 46.0.3, >= 44.2.0, < 45.2.2 | 46.0.3, 45.2.2 |
| npm package | @ckeditor/ckeditor5-clipboard | >= 44.2.0, < 45.2.2, >= 46.0.0, < 46.0.3 | 45.2.2, 46.0.3 |
References
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N- Weakness (CWE)
CWE-79- Platform
- npm
- Package
ckeditor5, @ckeditor/ckeditor5-clipboard- Disclosed
- 03.09.2025
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-x9gp-vjh6-3wv6 - CC BY 4.0
Vulnerability history: ckeditor5
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
- 3
- First → latest
- 09.2024 03.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Medium 2
- Low 1
Disclosures per year
- 2024: 1
- 2025: 1
- 2026: 1
-
CKEditor 5 cross-site scripting (XSS) vulnerability in the clipboard package this entry
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.