{"id":"CVE-2021-32808","published":"2021-08-12T16:25:10Z","modified":"2024-08-03T23:33:55Z","title":"Cross-site scripting in ckeditor via abuse of undo functionality","vendor":"ckeditor","product":"ckeditor4","tier":"tail","description":{"text":"ckeditor is an open source WYSIWYG HTML editor with rich content support. A vulnerability has been discovered in the clipboard Widget plugin if used alongside the undo feature. The vulnerability allows a user 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 >= 4.13.0. The problem has been recognized and patched. The fix will be available in version 4.16.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01192,"percentile":0.6874,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-6226-h7ff-ch6c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ckeditor/ckeditor4/releases/tag/4.16.2","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NYA354LJP47KCVJMTUO77ZCX3ZK42G3T/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UVOYN2WKDPLKCNILIGEZM236ABQASLGW/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WAGNWHFIQAVCP537KFFS2A2GDG66J7XD/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":["x_refsource_MISC"]}],"priority":{"score":19.1,"factors":[{"name":"EPSS percentile","points":13.75},{"name":"CVSS severity","points":5.32}]},"vendorSlug":"ckeditor","affectedVersions":[{"vendor":"ckeditor","product":"ckeditor4","versions":[">= 4.13.0, < 4.16.2"]}],"affected":[{"ecosystem":"npm","package":"ckeditor4","vulnerableRanges":[">=4.13.0, <4.16.2"],"patched":["4.16.2"],"from":["GHSA-6226-h7ff-ch6c"],"provenance":"source"}],"summary":{"text":"A cross-site scripting flaw in the clipboard Widget plugin of CKEditor 4 (ckeditor4, from the ckeditor vendor) lets malformed widget HTML be abused through the editor's undo feature when the two are used together. An attacker with low privileges who can get a user to interact with crafted content can cause JavaScript to execute, affecting CKEditor 4 at version 4.13.0 and later.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:17:41Z"},"euvd":{"id":"EUVD-2021-1585","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-27193","published":"2020-11-12","fixed":"4.15.1","kev":false},{"cve":"CVE-2021-26272","published":"2021-01-26","fixed":"4.16.0","kev":false},{"cve":"CVE-2021-33829","published":"2021-06-09","fixed":"4.16.1","kev":false,"link":{"from":"CVE-2021-33829","to":"CVE-2021-32808","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:ckeditor4","fromFixed":"4.16.1","toFixed":"4.16.2","daysApart":64}]}},{"cve":"CVE-2021-32808","published":"2021-08-12","fixed":"4.16.2","kev":false},{"cve":"CVE-2021-32809","published":"2021-08-12","fixed":"4.16.2","kev":false},{"cve":"CVE-2021-37695","published":"2021-08-12","fixed":"4.16.2","kev":false},{"cve":"CVE-2021-41164","published":"2021-11-17","fixed":"4.17.0","kev":false,"link":{"from":"CVE-2021-32808","to":"CVE-2021-41164","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:ckeditor4","fromFixed":"4.16.2","toFixed":"4.17.0","daysApart":97}]}},{"cve":"CVE-2021-41165","published":"2021-11-17","fixed":"4.17.0","kev":false,"link":{"from":"CVE-2021-32808","to":"CVE-2021-41165","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:ckeditor4","fromFixed":"4.16.2","toFixed":"4.17.0","daysApart":97}]}}],"package":"npm:ckeditor4"}}