{"id":"CVE-2021-32808","aliases":["DEBIAN-CVE-2021-32808","EUVD-2021-1585","GHSA-6226-h7ff-ch6c","UBUNTU-CVE-2021-32808","USN-5340-1"],"status":"published","title":"Cross-site scripting in ckeditor via abuse of undo functionality","description":"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 \u003e= 4.13.0. The problem has been recognized and patched. The fix will be available in version 4.16.2.","severity":{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.01192,"percentile":0.68237,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2021-08-12T16:25:10Z","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"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"ckeditor4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.13.0"},{"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.13.0"},{"fixed":"4.16.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"],"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}],"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":"financial_services_model_management_and_governance"},{"vendor":"oracle","product":"jd_edwards_enterpriseone_tools"},{"vendor":"oracle","product":"peoplesoft_enterprise_peopletools"},{"vendor":"oracle","product":"siebel_ui_framework"},{"vendor":"oracle","product":"webcenter_sites"}],"references":[{"url":"https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-6226-h7ff-ch6c","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web","report"]},{"url":"https://github.com/ckeditor/ckeditor4/releases/tag/4.16.2","tags":["x_refsource_MISC","x_transferred","Release Notes","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-32808","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-6226-h7ff-ch6c"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-32808","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-32808","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-5340-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-32808","tags":["report"]},{"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-32809","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-32808","title":"Cross-site scripting in ckeditor via abuse of undo functionality","description":"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 \u003e= 4.13.0. The problem has been recognized and patched. The fix will be available in version 4.16.2.","status":"published","published":"2021-08-12T16:25:10Z","modified":"2024-08-03T23:33:55.865Z","cvss":[{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N","level":"high","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:33:07.349244Z"}],"euvd":[{"id":"EUVD-2021-1585","description":"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 \u003e= 4.13.0. The problem has been recognized and patched. The fix will be available in version 4.16.2.","status":"published","published":"2021-08-12T16:25:10Z","modified":"2024-08-03T23:33:55Z","cvss":[{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N","level":"high"}],"updated_at":"2026-11-03T03:24:35.855495Z"}],"ghsa":[{"id":"GHSA-6226-h7ff-ch6c","title":"Widget feature vulnerability allowing to execute JavaScript code using undo functionality","description":"### 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","status":"published","published":"2021-08-23T19:40:48Z","modified":"2023-02-01T05:05:53Z","cvss":[{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:35.781528Z"}],"nvd":[{"id":"CVE-2021-32808","description":"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 \u003e= 4.13.0. 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.047Z","modified":"2026-06-17T03:53:40.293Z","cvss":[{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N","level":"high","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-79"],"updated_at":"2026-11-02T14:06:56.943671Z"}],"osv":[{"id":"CVE-2021-32808","description":"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 \u003e= 4.13.0. 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.047Z","modified":"2026-10-24T10:50:12.187687998Z","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-32808","description":"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 \u003e= 4.13.0. 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.047Z","modified":"2026-10-23T18:03:13.981812023Z","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-6226-h7ff-ch6c","title":"Widget feature vulnerability allowing to execute JavaScript code using undo functionality","description":"### 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","status":"published","published":"2021-08-23T19:40:48Z","modified":"2026-07-08T06:28:18.24208868Z","cvss":[{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:38.911014Z"},{"id":"UBUNTU-CVE-2021-32808","description":"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 \u003e= 4.13.0. The problem has been recognized and patched. The fix will be available in version 4.16.2.","status":"withdrawn","published":"2021-08-12T17:15:00Z","modified":"2026-02-04T02:55:13.177571Z","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":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N","level":"high"}],"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"}]}}
