CVE-2025-58064 CKEditor is susceptible to Cross-Site Scripting (XSS) through its clipboard package
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
CKEditor 5 is a modern JavaScript rich-text editor with an MVC architecture. ckeditor5 and ckeditor5-clipboard versions 46.0.0 through 46.0.2 and 44.2.0 through 45.2.1 contain a Cross-Site Scripting (XSS) vulnerability. Ability to exploit 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 installations where the editor configuration meets one of the following criteria: the HTML embed plugin is enabled, or there is a custom plugin introducing an editable element where view RawElement is enabled. This issue is fixed in versions 45.2.2 and 46.0.3 of both ckeditor5 and ckeditor5-clipboard.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ckeditor @ckeditor/ckeditor5-clipboard(npm) | >= 44.2.0, < 45.2.2; >= 46.0.0, < 46.0.3 | 45.2.2, 46.0.3 | Fixed |
| npm ckeditor5(npm) | >= 44.2.0, < 45.2.2; >= 46.0.0, < 46.0.3 | 45.2.2, 46.0.3 | Fixed |
| ckeditor5 | = >= 44.2.0, < 45.2.2; = >= 46.0.0, < 46.0.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm ckeditor5(npm) | >= 46.0.0, < 46.0.3 | 46.0.3 |
| ckeditor @ckeditor/ckeditor5-clipboard(npm) | >= 44.2.0, < 45.2.2 | 45.2.2 |
| npm ckeditor5(npm) | >= 44.2.0, < 45.2.2 | 45.2.2 |
| ckeditor @ckeditor/ckeditor5-clipboard(npm) | >= 46.0.0, < 46.0.3 | 46.0.3 |
| ckeditor5 | = >= 46.0.0, < 46.0.3 | No fix listed |
| ckeditor5 | = >= 44.2.0, < 45.2.2 | No fix listed |
References
- https://github.com/ckeditor/ckeditor5/security/advisories/GHSA-x9gp-vjh6-3wv6 vendor-advisory
- https://github.com/ckeditor/ckeditor5/commit/b210e90c6cf84e662ef6c7daf93a92355a961bf2 patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product