{"id":"GHSA-rgg8-g5x8-wr9v","summary":"Cross-site scripting (XSS) in the clipboard package","details":"### 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.\n","aliases":["CVE-2024-45613"],"modified":"2024-10-15T17:29:14Z","published":"2024-09-25T18:13:35Z","database_specific":{"github_reviewed_at":"2024-09-25T18:13:35Z","nvd_published_at":"2024-09-25T14:15:05Z","cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/ckeditor/ckeditor5/security/advisories/GHSA-rgg8-g5x8-wr9v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45613"},{"type":"PACKAGE","url":"https://github.com/ckeditor/ckeditor5"},{"type":"WEB","url":"https://github.com/ckeditor/ckeditor5/releases/tag/v43.1.1"}],"affected":[{"package":{"name":"ckeditor5","ecosystem":"npm","purl":"pkg:npm/ckeditor5"},"ranges":[{"type":"SEMVER","events":[{"introduced":"40.0.0"},{"fixed":"43.1.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-rgg8-g5x8-wr9v/GHSA-rgg8-g5x8-wr9v.json"}},{"package":{"name":"@ckeditor/ckeditor5-clipboard","ecosystem":"npm","purl":"pkg:npm/%40ckeditor/ckeditor5-clipboard"},"ranges":[{"type":"SEMVER","events":[{"introduced":"40.0.0"},{"fixed":"43.1.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-rgg8-g5x8-wr9v/GHSA-rgg8-g5x8-wr9v.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"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"}]}