{"id":"CVE-2024-45613","aliases":["CVE-2024-45613","GHSA-rgg8-g5x8-wr9v"],"related":[],"kind":"vulnerability","state":"published","title":"CKEditor 5 has Cross-site Scripting vulnerability in the clipboard package","summary":"CKEditor 5 is a JavaScript rich-text editor. Starting in version 40.0.0 and prior to version 43.1.1, a Cross-Site Scripting (XSS) vulnerability is present 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 only affects installations where the Block Toolbar plugin is enabled and either the General HTML Support (with a configuration that permits unsafe markup) or the HTML Embed plugin is also enabled. A fix for the problem is available in version 43.1.1. As a workaround, one may disable the block toolbar plugin.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"CKEditor 5 is a JavaScript rich-text editor. Starting in version 40.0.0 and prior to version 43.1.1, a Cross-Site Scripting (XSS) vulnerability is present 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 only affects installations where the Block Toolbar plugin is enabled and either the General HTML Support (with a configuration that permits unsafe markup) or the HTML Embed plugin is also enabled. A fix for the problem is available in version 43.1.1. As a workaround, one may disable the block toolbar plugin.","source":"cvelist"},{"lang":"en","text":"### Impact\nDuring a recent internal audit, we identified a Cross-Site Scripting (XSS) vulnerability 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 the following criteria:\n\n1. The [**Block Toolbar**](https://ckeditor.com/docs/ckeditor5/latest/getting-started/setup/toolbar.html#block-toolbar) plugin is enabled.\n1. One of the following plugins is also enabled:\n    - [**General HTML Support**](https://ckeditor.com/docs/ckeditor5/latest/features/html/general-html-support.html) with a configuration that permits unsafe markup.\n    - [**HTML Embed**](https://ckeditor.com/docs/ckeditor5/latest/features/html/html-embed.html).\n\n### Patches\nThe problem has been recognized and patched. The fix will be available in version 43.1.1 (and above), and explicitly in version 41.3.2.\n\n### Workarounds\nIt's highly recommended to update to the version 43.1.1 or higher. However, if the update is not an option, we recommend disabling the block toolbar plugin.\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"},{"lang":"es","text":"CKEditor 5 es un editor de texto enriquecido de JavaScript. A partir de la versión 40.0.0 y antes de la versión 43.1.1, existe una vulnerabilidad de tipo Cross-Site Scripting (XSS) en el paquete de portapapeles de CKEditor 5. Esta vulnerabilidad podría ser activada por una acción específica del usuario, lo que llevaría a la ejecución no autorizada de código JavaScript, si el atacante lograra insertar un contenido malicioso en el editor, lo que podría suceder con una configuración de editor muy específica. Esta vulnerabilidad solo afecta a las instalaciones donde está habilitado el complemento Block Toolbar y también está habilitado General HTML Support (con una configuración que permite marcado no seguro) o el complemento HTML Embed. Hay una solución para el problema disponible en la versión 43.1.1. Como workaround, se puede deshabilitar el complemento Block Toolbar.","source":"nvd"}],"published":"2024-09-25T13:27:03.546Z","modified":"2026-06-17T07:54:34.003Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","score":5.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","score":5.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","score":7.2,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":">= 40.0.0, < 43.1.1","status":"affected"}],"vendor":"ckeditor","product":"ckeditor5","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"40.0.0","status":"affected","fixed":"43.1.1"}],"ecosystem":"npm","package":"ckeditor5","purl":"pkg:npm/ckeditor5","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"40.0.0","status":"affected","fixed":"43.1.1"}],"ecosystem":"npm","package":"@ckeditor/ckeditor5-clipboard","purl":"pkg:npm/%40ckeditor/ckeditor5-clipboard","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"40.0.0","fixed":"43.1.1"}],"vendor":"ckeditor","product":"ckeditor5","cpe":"cpe:2.3:a:ckeditor:ckeditor5:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/ckeditor/ckeditor5/security/advisories/GHSA-rgg8-g5x8-wr9v","tags":["third-party-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/ckeditor/ckeditor5/releases/tag/v43.1.1","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45613","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":"2024-09-25T14:23:40.264Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-45613","url":"https://www.cve.org/CVERecord?id=CVE-2024-45613","licence":"CVE Terms of Use","modified":"2024-10-01T21:20:44.633Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rgg8-g5x8-wr9v","url":"https://github.com/advisories/GHSA-rgg8-g5x8-wr9v","licence":"CC-BY-4.0","modified":"2024-10-15T17:29:14.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-45613","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45613","licence":"Public domain","modified":"2026-06-17T07:54:34.003Z"}],"updatedAt":"2026-11-25T22:58:45.732Z","epss":{"score":0.00524,"percentile":0.45938,"date":"2026-12-01T12:00:22.000Z"}}