{"id":"GHSA-6226-h7ff-ch6c","summary":"Widget feature vulnerability allowing to execute JavaScript code using undo functionality","details":"### Affected packages\nThe vulnerability has been discovered in [Widget](https://ckeditor.com/cke4/addon/clipboard) plugin if used alongside [Undo](https://ckeditor.com/cke4/addon/undo) feature.\n\n### Impact\nA potential vulnerability has been discovered in CKEditor 4 [Widget](https://ckeditor.com/cke4/addon/widget) package. The vulnerability allowed to abuse undo functionality using malformed widget HTML, which could result in executing JavaScript code. It affects all users using the CKEditor 4 plugins listed above at version \u003e= 4.13.0.\n\n### Patches\nThe problem has been recognized and patched. The fix will be available in version 4.16.2.\n\n### For more information\nEmail us at security@cksource.com if you have any questions or comments about this advisory.\n\n### Acknowledgements\nThe CKEditor 4 team would like to thank Anton Subbotin ([skavans](https://github.com/skavans)) for recognizing and reporting this vulnerability.\n","aliases":["CVE-2021-32808"],"modified":"2026-07-08T06:28:18.242088680Z","published":"2021-08-23T19:40:48Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2021-08-23T16:49:07Z","nvd_published_at":"2021-08-12T17:15:00Z","cwe_ids":["CWE-79"]},"references":[{"type":"WEB","url":"https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-6226-h7ff-ch6c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32808"},{"type":"PACKAGE","url":"https://github.com/ckeditor/ckeditor4"},{"type":"WEB","url":"https://github.com/ckeditor/ckeditor4/releases/tag/4.16.2"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NYA354LJP47KCVJMTUO77ZCX3ZK42G3T"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UVOYN2WKDPLKCNILIGEZM236ABQASLGW"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WAGNWHFIQAVCP537KFFS2A2GDG66J7XD"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujan2022.html"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuoct2021.html"}],"affected":[{"package":{"name":"ckeditor4","ecosystem":"npm","purl":"pkg:npm/ckeditor4"},"ranges":[{"type":"SEMVER","events":[{"introduced":"4.13.0"},{"fixed":"4.16.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-6226-h7ff-ch6c/GHSA-6226-h7ff-ch6c.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N"}]}