{"id":"CVE-2025-58064","aliases":["CVE-2025-58064","GHSA-x9gp-vjh6-3wv6"],"related":[],"kind":"vulnerability","state":"published","title":"CKEditor is susceptible to Cross-Site Scripting (XSS) through its clipboard package","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nA 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.\n\nThis vulnerability affects **only** installations where the editor configuration meets one of the following criteria:\n- [HTML embed plugin](https://ckeditor.com/docs/ckeditor5/latest/features/html/html-embed.html) is enabled\n- Custom plugin introducing editable element which implements view [`RawElement`](https://ckeditor.com/docs/ckeditor5/latest/api/module_engine_view_rawelement-ViewRawElement.html) is enabled\n\n### Patches\nThe 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.\n\n### For more information\nEmail us at [security@cksource.com](mailto:security@cksource.com) if you have any questions or comments about this advisory.","format":"markdown","source":"ghsa"}],"published":"2025-09-03T18:03:20.000Z","modified":"2026-06-17T09:43:51.800Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":2.3,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":2.3,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"LOW"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":">= 46.0.0, < 46.0.3","status":"affected"},{"version":">= 44.2.0, < 45.2.2","status":"affected"}],"vendor":"ckeditor","product":"ckeditor5","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"46.0.0","status":"affected","fixed":"46.0.3"}],"ecosystem":"npm","package":"ckeditor5","purl":"pkg:npm/ckeditor5","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"44.2.0","status":"affected","fixed":"45.2.2"}],"ecosystem":"npm","package":"@ckeditor/ckeditor5-clipboard","purl":"pkg:npm/%40ckeditor/ckeditor5-clipboard","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"44.2.0","status":"affected","fixed":"45.2.2"}],"ecosystem":"npm","package":"ckeditor5","purl":"pkg:npm/ckeditor5","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"46.0.0","status":"affected","fixed":"46.0.3"}],"ecosystem":"npm","package":"@ckeditor/ckeditor5-clipboard","purl":"pkg:npm/%40ckeditor/ckeditor5-clipboard","source":"ghsa"}],"references":[{"url":"https://github.com/ckeditor/ckeditor5/security/advisories/GHSA-x9gp-vjh6-3wv6","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/ckeditor/ckeditor5/commit/b210e90c6cf84e662ef6c7daf93a92355a961bf2","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58064","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/ckeditor/ckeditor5","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-09-04T20:03:38.774Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-58064","url":"https://www.cve.org/CVERecord?id=CVE-2025-58064","licence":"CVE Terms of Use","modified":"2025-09-04T20:03:46.927Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-x9gp-vjh6-3wv6","url":"https://github.com/advisories/GHSA-x9gp-vjh6-3wv6","licence":"CC-BY-4.0","modified":"2025-09-04T13:51:52.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-58064","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58064","licence":"Public domain","modified":"2026-06-17T09:43:51.800Z"}],"updatedAt":"2026-11-25T22:59:04.101Z","epss":{"score":0.0045,"percentile":0.40851,"date":"2026-12-01T12:00:22.000Z"}}