{"id":"CVE-2021-37695","published":"2021-08-12T23:10:10Z","modified":"2024-08-04T01:23:01Z","title":"Execution of JavaScript code using malformed HTML in ckeditor","vendor":"ckeditor","product":"ckeditor4","tier":"tail","description":{"text":"ckeditor is an open source WYSIWYG HTML editor with rich content support. A potential vulnerability has been discovered in CKEditor 4 [Fake Objects](https://ckeditor.com/cke4/addon/fakeobjects) package. The vulnerability allowed to inject malformed Fake Objects HTML, which could result in executing JavaScript code. It affects all users using the CKEditor 4 plugins listed above at version < 4.16.2. 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.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01318,"percentile":0.71532,"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-m94c-37g6-cjhc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ckeditor/ckeditor4/commit/de3c001540715f9c3801aaa38a1917de46cfcf58","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://lists.debian.org/debian-lts-announce/2021/11/msg00007.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":["x_refsource_MISC"]}],"priority":{"score":19.4,"factors":[{"name":"EPSS percentile","points":14.31},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"ckeditor","affectedVersions":[{"vendor":"ckeditor","product":"ckeditor4","versions":["< 4.16.2"]}],"affected":[{"ecosystem":"npm","package":"ckeditor4","vulnerableRanges":["<4.16.2"],"patched":["4.16.2"],"from":["GHSA-m94c-37g6-cjhc"],"provenance":"source"}],"summary":{"text":"A flaw in the Fake Objects package of CKEditor 4 (a WYSIWYG HTML editor, product ckeditor4 from vendor ckeditor) allows malformed Fake Objects HTML to be injected, which can result in execution of JavaScript code. An attacker with low privileges who can get a user to interact with crafted content, over the network, can run script in the victim's context; the issue affects CKEditor 4 plugins below version 4.16.2 and is fixed in that release.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:17:09Z"},"euvd":{"id":"EUVD-2021-1795","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-33829","published":"2021-06-09","fixed":"4.16.1","kev":false,"link":{"from":"CVE-2021-33829","to":"CVE-2021-37695","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},{"cve":"CVE-2021-41165","published":"2021-11-17","fixed":"4.17.0","kev":false},{"cve":"CVE-2022-24728","published":"2022-03-16","fixed":"4.18.0","kev":false}],"package":"npm:ckeditor4"}}