{"id":"CVE-2021-32809","aliases":["DEBIAN-CVE-2021-32809","EUVD-2021-1613","GHSA-7889-rm5j-hpgg","UBUNTU-CVE-2021-32809","USN-5340-1","USN-5340-2"],"status":"published","title":"Arbitrary HTML injection vulnerability in ckeditor","description":"ckeditor is an open source WYSIWYG HTML editor with rich content support. A potential vulnerability has been discovered in CKEditor 4 [Clipboard](https://ckeditor.com/cke4/addon/clipboard) package. The vulnerability allowed to abuse paste functionality using malformed HTML, which could result in injecting arbitrary HTML into the editor. It affects all users using the CKEditor 4 plugins listed above at version \u003e= 4.5.2. The problem has been recognized and patched. The fix will be available in version 4.16.2.","severity":{"version":"3.1","score":4.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.01188,"percentile":0.68126,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79","CWE-94"],"published":"2021-08-12T17:10:09Z","modified":"2026-10-24T10:50:12Z","fixes":[{"ecosystem":"npm","package":"ckeditor4","fixed_in":["4.16.2"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"ckeditor","fixed_in":["4.16.2+dfsg-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"ckeditor","fixed_in":["4.5.7+dfsg-2ubuntu0.16.04.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"ckeditor","fixed_in":["4.5.7+dfsg-2ubuntu0.18.04.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:20.04:LTS","package":"ckeditor","fixed_in":["4.12.1+dfsg-1ubuntu0.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"ckeditor4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.5.2"},{"fixed":"4.16.2"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"ckeditor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.16.2+dfsg-1"}]}]},{"source":"osv","ecosystem":"npm","package":"ckeditor4","ranges":[{"type":"SEMVER","events":[{"introduced":"4.5.2"},{"fixed":"4.16.2"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"ckeditor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5.7+dfsg-2ubuntu0.16.04.1~esm1"}]}],"versions":["4.4.4+dfsg1-3","4.5.6+dfsg-1","4.5.7+dfsg-1","4.5.7+dfsg-2"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"ckeditor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5.7+dfsg-2ubuntu0.18.04.1"}]}],"versions":["4.5.7+dfsg-2"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"ckeditor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.12.1+dfsg-1ubuntu0.1"}]}],"versions":["4.11.1+dfsg-1","4.12.1+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"ckeditor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5.7+dfsg-2ubuntu0.18.04.1"}]}],"versions":["4.5.7+dfsg-2"],"bundled":6},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"ckeditor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.12.1+dfsg-1ubuntu0.1"}]}],"versions":["4.11.1+dfsg-1","4.12.1+dfsg-1"],"bundled":6},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"ckeditor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5.7+dfsg-2ubuntu0.16.04.1~esm1"}]}],"versions":["4.4.4+dfsg1-3","4.5.6+dfsg-1","4.5.7+dfsg-1","4.5.7+dfsg-2"],"bundled":5}],"products":[{"vendor":"ckeditor","product":"ckeditor"},{"vendor":"ckeditor","product":"ckeditor4"},{"vendor":"fedoraproject","product":"fedora"},{"vendor":"oracle","product":"application_express"},{"vendor":"oracle","product":"banking_party_management"},{"vendor":"oracle","product":"commerce_guided_search"},{"vendor":"oracle","product":"commerce_merchandising"},{"vendor":"oracle","product":"documaker"},{"vendor":"oracle","product":"financial_services_analytical_applications_infrastructure"},{"vendor":"oracle","product":"jd_edwards_enterpriseone_tools"},{"vendor":"oracle","product":"peoplesoft_enterprise_peopletools"}],"references":[{"url":"https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-7889-rm5j-hpgg","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web","report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NYA354LJP47KCVJMTUO77ZCX3ZK42G3T/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UVOYN2WKDPLKCNILIGEZM236ABQASLGW/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WAGNWHFIQAVCP537KFFS2A2GDG66J7XD/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32809","tags":["advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NYA354LJP47KCVJMTUO77ZCX3ZK42G3T/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UVOYN2WKDPLKCNILIGEZM236ABQASLGW/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WAGNWHFIQAVCP537KFFS2A2GDG66J7XD/"},{"url":"https://github.com/advisories/GHSA-7889-rm5j-hpgg"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-32809","tags":["advisory"]},{"url":"https://github.com/ckeditor/ckeditor4","tags":["package"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NYA354LJP47KCVJMTUO77ZCX3ZK42G3T","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UVOYN2WKDPLKCNILIGEZM236ABQASLGW","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WAGNWHFIQAVCP537KFFS2A2GDG66J7XD","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2021-32809","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-5340-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-32809","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-5340-2","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-9861","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-9281","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-32808","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-33829","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-37695","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-32809","title":"Arbitrary HTML injection vulnerability in ckeditor","description":"ckeditor is an open source WYSIWYG HTML editor with rich content support. A potential vulnerability has been discovered in CKEditor 4 [Clipboard](https://ckeditor.com/cke4/addon/clipboard) package. The vulnerability allowed to abuse paste functionality using malformed HTML, which could result in injecting arbitrary HTML into the editor. It affects all users using the CKEditor 4 plugins listed above at version \u003e= 4.5.2. The problem has been recognized and patched. The fix will be available in version 4.16.2.","status":"published","published":"2021-08-12T17:10:09Z","modified":"2024-08-03T23:33:56.09Z","cvss":[{"version":"3.1","score":4.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:33:06.658806Z"}],"euvd":[{"id":"EUVD-2021-1613","description":"ckeditor is an open source WYSIWYG HTML editor with rich content support. A potential vulnerability has been discovered in CKEditor 4 [Clipboard](https://ckeditor.com/cke4/addon/clipboard) package. The vulnerability allowed to abuse paste functionality using malformed HTML, which could result in injecting arbitrary HTML into the editor. It affects all users using the CKEditor 4 plugins listed above at version \u003e= 4.5.2. The problem has been recognized and patched. The fix will be available in version 4.16.2.","status":"published","published":"2021-08-12T17:10:09Z","modified":"2024-08-03T23:33:56Z","cvss":[{"version":"3.1","score":4.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-03T03:24:35.30045Z"}],"ghsa":[{"id":"GHSA-7889-rm5j-hpgg","title":"Clipboard feature vulnerability allowing to inject arbitrary HTML into the editor using paste functionality","description":"### Affected packages\nThe vulnerability has been discovered in [clipboard](https://ckeditor.com/cke4/addon/clipboard) plugin. All plugins with [clipboard](https://ckeditor.com/cke4/addon/clipboard) plugin dependency are affected:\n\n* [clipboard](https://ckeditor.com/cke4/addon/clipboard)\n* [pastetext](https://ckeditor.com/cke4/addon/pastetext)\n* [pastetools](https://ckeditor.com/cke4/addon/pastetools)\n* [widget](https://ckeditor.com/cke4/addon/widget)\n* [uploadwidget](https://ckeditor.com/cke4/addon/uploadwidget)\n* [autolink](https://ckeditor.com/cke4/addon/autolink)\n* [tableselection](https://ckeditor.com/cke4/addon/tableselection)\n\n### Impact\nA potential vulnerability has been discovered in CKEditor 4 [Clipboard](https://ckeditor.com/cke4/addon/clipboard) package. The vulnerability allowed to abuse paste functionality using malformed HTML, which could result in injecting arbitrary HTML into the editor. It affects all users using the CKEditor 4 plugins listed above at version \u003e= 4.5.2.\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","status":"published","published":"2021-08-23T19:40:57Z","modified":"2023-02-01T05:05:57Z","cvss":[{"version":"3.1","score":4.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79","CWE-94"],"updated_at":"2026-11-02T14:36:36.66596Z"}],"nvd":[{"id":"CVE-2021-32809","description":"ckeditor is an open source WYSIWYG HTML editor with rich content support. A potential vulnerability has been discovered in CKEditor 4 [Clipboard](https://ckeditor.com/cke4/addon/clipboard) package. The vulnerability allowed to abuse paste functionality using malformed HTML, which could result in injecting arbitrary HTML into the editor. It affects all users using the CKEditor 4 plugins listed above at version \u003e= 4.5.2. The problem has been recognized and patched. The fix will be available in version 4.16.2.","status":"published","published":"2021-08-12T17:15:08.167Z","modified":"2026-06-17T03:53:40.443Z","cvss":[{"version":"3.1","score":4.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-94","CWE-79"],"updated_at":"2026-11-02T14:06:56.943671Z"}],"osv":[{"id":"CVE-2021-32809","description":"ckeditor is an open source WYSIWYG HTML editor with rich content support. A potential vulnerability has been discovered in CKEditor 4 [Clipboard](https://ckeditor.com/cke4/addon/clipboard) package. The vulnerability allowed to abuse paste functionality using malformed HTML, which could result in injecting arbitrary HTML into the editor. It affects all users using the CKEditor 4 plugins listed above at version \u003e= 4.5.2. The problem has been recognized and patched. The fix will be available in version 4.16.2.","status":"published","published":"2021-08-12T17:15:08.167Z","modified":"2026-10-24T10:50:12.163422666Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:19.793849Z"},{"id":"DEBIAN-CVE-2021-32809","description":"ckeditor is an open source WYSIWYG HTML editor with rich content support. A potential vulnerability has been discovered in CKEditor 4 [Clipboard](https://ckeditor.com/cke4/addon/clipboard) package. The vulnerability allowed to abuse paste functionality using malformed HTML, which could result in injecting arbitrary HTML into the editor. It affects all users using the CKEditor 4 plugins listed above at version \u003e= 4.5.2. The problem has been recognized and patched. The fix will be available in version 4.16.2.","status":"published","published":"2021-08-12T17:15:08.167Z","modified":"2026-10-23T18:03:14.017290439Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:35.233346Z"},{"id":"GHSA-7889-rm5j-hpgg","title":"Clipboard feature vulnerability allowing to inject arbitrary HTML into the editor using paste functionality","description":"### Affected packages\nThe vulnerability has been discovered in [clipboard](https://ckeditor.com/cke4/addon/clipboard) plugin. All plugins with [clipboard](https://ckeditor.com/cke4/addon/clipboard) plugin dependency are affected:\n\n* [clipboard](https://ckeditor.com/cke4/addon/clipboard)\n* [pastetext](https://ckeditor.com/cke4/addon/pastetext)\n* [pastetools](https://ckeditor.com/cke4/addon/pastetools)\n* [widget](https://ckeditor.com/cke4/addon/widget)\n* [uploadwidget](https://ckeditor.com/cke4/addon/uploadwidget)\n* [autolink](https://ckeditor.com/cke4/addon/autolink)\n* [tableselection](https://ckeditor.com/cke4/addon/tableselection)\n\n### Impact\nA potential vulnerability has been discovered in CKEditor 4 [Clipboard](https://ckeditor.com/cke4/addon/clipboard) package. The vulnerability allowed to abuse paste functionality using malformed HTML, which could result in injecting arbitrary HTML into the editor. It affects all users using the CKEditor 4 plugins listed above at version \u003e= 4.5.2.\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","status":"published","published":"2021-08-23T19:40:57Z","modified":"2026-07-08T06:28:59.379859954Z","cvss":[{"version":"3.1","score":4.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79","CWE-94"],"updated_at":"2026-11-02T15:46:40.657155Z"},{"id":"UBUNTU-CVE-2021-32809","description":"ckeditor is an open source WYSIWYG HTML editor with rich content support. A potential vulnerability has been discovered in CKEditor 4 [Clipboard](https://ckeditor.com/cke4/addon/clipboard) package. The vulnerability allowed to abuse paste functionality using malformed HTML, which could result in injecting arbitrary HTML into the editor. It affects all users using the CKEditor 4 plugins listed above at version \u003e= 4.5.2. The problem has been recognized and patched. The fix will be available in version 4.16.2.","status":"published","published":"2021-08-12T17:15:00Z","modified":"2026-02-04T02:44:29.337673Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"},{"version":"3.1","score":4.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:27.332852Z"},{"id":"USN-5340-1","title":"ckeditor vulnerabilities","description":"Kyaw Min Thein discovered that CKEditor incorrectly handled\ncertain inputs. An attacker could possibly use this issue\nto execute arbitrary code. This issue only affects\nUbuntu 18.04 LTS. (CVE-2018-9861)\n\nMicha Bentkowski discovered that CKEditor incorrectly handled\ncertain inputs. An attacker could possibly use this issue to\nexecute arbitrary code. This issue only affects\nUbuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-9281)\n\nAnton Subbotin discovered that CKEditor incorrectly handled\ncertain inputs. An attacker could possibly use this issue to\nexecute arbitrary code. This issue only affects\nUbuntu 21.10. (CVE-2021-32808)\n\nAnton Subbotin discovered that CKEditor incorrectly handled\ncertain inputs. An attacker could possibly use this issue to\ninject arbitrary code. (CVE-2021-32809)\n\nOr Sahar discovered that CKEditor incorrectly handled certain\ninputs. An attacker could possibly use this issue to execute\narbitrary code. This issue only affects\nUbuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2021-33829)\n\nMika Kulmala discovered that CKEditor incorrectly handled\ncertain inputs. An attacker could possibly use this issue to\nexecute arbitrary code. (CVE-2021-37695)\n","status":"published","published":"2022-03-22T16:43:31Z","modified":"2026-04-27T16:19:04.04217959Z","updated_at":"2026-11-02T16:58:15.683829Z"},{"id":"USN-5340-2","title":"ckeditor vulnerabilities","description":"USN-5340-1 fixed several vulnerabilities in CKEditor.\nThis update provides the fixes for CVE-2018-9861, CVE-2020-9281,\nCVE-2021-32809, CVE-2021-33829 and CVE-2021-37695 for Ubuntu 16.04 ESM.\n\nOriginal advisory details:\n\nKyaw Min Thein discovered that CKEditor incorrectly handled\ncertain inputs. An attacker could possibly use this issue\nto execute arbitrary code. This issue only affects\nUbuntu 18.04 LTS. (CVE-2018-9861)\n\nMicha Bentkowski discovered that CKEditor incorrectly handled\ncertain inputs. An attacker could possibly use this issue to\nexecute arbitrary code. This issue only affects\nUbuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-9281)\n\nAnton Subbotin discovered that CKEditor incorrectly handled\ncertain inputs. An attacker could possibly use this issue to\nexecute arbitrary code. This issue only affects\nUbuntu 21.10. (CVE-2021-32808)\n\nAnton Subbotin discovered that CKEditor incorrectly handled\ncertain inputs. An attacker could possibly use this issue to\ninject arbitrary code. (CVE-2021-32809)\n\nOr Sahar discovered that CKEditor incorrectly handled certain\ninputs. An attacker could possibly use this issue to execute\narbitrary code. This issue only affects\nUbuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2021-33829)\n\nMika Kulmala discovered that CKEditor incorrectly handled\ncertain inputs. An attacker could possibly use this issue to\nexecute arbitrary code. (CVE-2021-37695)\n","status":"published","published":"2022-03-23T08:57:25Z","modified":"2026-06-25T13:31:05.424927326Z","updated_at":"2026-11-02T16:58:15.683829Z"}]}}
