{"id":"CVE-2021-41165","aliases":["BIT-drupal-2021-41165","DEBIAN-CVE-2021-41165","EUVD-2021-2315","GHSA-7h26-63m7-qhf2","UBUNTU-CVE-2021-41165"],"status":"published","title":"HTML comments vulnerability allowing to execute JavaScript code","description":"CKEditor4 is an open source WYSIWYG HTML editor. In affected version a vulnerability has been discovered in the core HTML processing module and may affect all plugins used by CKEditor 4. The vulnerability allowed to inject malformed comments HTML bypassing content sanitization, which could result in executing JavaScript code. It affects all users using the CKEditor 4 at version \u003c 4.17.0. The problem has been recognized and patched. The fix will be available in version 4.17.0.","severity":{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.01573,"percentile":0.75746,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2021-11-17T19:15:11Z","modified":"2026-10-24T10:51:25Z","fixes":[{"ecosystem":"npm","package":"ckeditor4","fixed_in":["4.17.0"],"sources":["ghsa","osv"]},{"ecosystem":"Packagist","package":"ckeditor/ckeditor","fixed_in":["4.17.0"],"sources":["ghsa","osv"]},{"ecosystem":"Bitnami","package":"drupal","fixed_in":["8.9.20","9.1.14","9.2.9"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"ckeditor","fixed_in":["4.19.0+dfsg-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"ckeditor4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.17.0"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"ckeditor/ckeditor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.17.0"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"drupal","ranges":[{"type":"SEMVER","events":[{"introduced":"8.9.0"},{"fixed":"8.9.20"},{"introduced":"9.1.0"},{"fixed":"9.1.14"},{"introduced":"9.2.0"},{"fixed":"9.2.9"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"ckeditor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.19.0+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"ckeditor3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.6.1+dfsg-7"]},{"source":"osv","ecosystem":"npm","package":"ckeditor4","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.17.0"}]}]},{"source":"osv","ecosystem":"Packagist","package":"ckeditor/ckeditor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.17.0"}]}],"versions":["4.10.0","4.10.1","4.11.0","4.11.1","4.11.2","4.11.3","4.11.4","4.12.0","4.12.1","4.13.0","4.13.1","4.14.0","4.14.1","4.15.0","4.15.1","4.16.0","4.16.1","4.16.2","4.3.3","4.3.4","4.3.5","4.4.0","4.4.1","4.4.2","4.4.3","4.4.4","4.4.5","4.4.6","4.4.7","4.4.8","4.5.0","4.5.1","4.5.10","4.5.11","4.5.2","4.5.3","4.5.4","4.5.5","4.5.6","4.5.7","4.5.8","4.5.9","4.6.0","4.6.1","4.6.2","4.7.0","4.7.1","4.7.2","4.7.3","4.8.0","4.9.0","4.9.1","4.9.2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"ckeditor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.4.4+dfsg1-3","4.5.6+dfsg-1","4.5.7+dfsg-1","4.5.7+dfsg-2","4.5.7+dfsg-2ubuntu0.16.04.1~esm1","4.5.7+dfsg-2ubuntu0.16.04.1~esm2","4.5.7+dfsg-2ubuntu0.16.04.1~esm3"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"ldap-account-manager","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.9-1","5.1-1","5.2-1","5.2-1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"request-tracker4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.11-2","4.2.12-3","4.2.12-4","4.2.12-5"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"ckeditor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.5.7+dfsg-2","4.5.7+dfsg-2ubuntu0.18.04.1","4.5.7+dfsg-2ubuntu0.18.04.1+esm1","4.5.7+dfsg-2ubuntu0.18.04.1+esm2"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"ckeditor3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.6.1+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"ldap-account-manager","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.7-1","6.1-1","6.2-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"request-tracker4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.4.1-5","4.4.2-1","4.4.2-2","4.4.2-2ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"ckeditor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.11.1+dfsg-1","4.12.1+dfsg-1","4.12.1+dfsg-1ubuntu0.1","4.12.1+dfsg-1ubuntu0.1+esm1","4.12.1+dfsg-1ubuntu0.1+esm2"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"ckeditor3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.6.1+dfsg-3","3.6.6.1+dfsg-4"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"ldap-account-manager","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.7-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"request-tracker4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.4.3-2","4.4.3-2+deb10u3build0.20.04.1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"ckeditor3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.6.1+dfsg-7"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"ldap-account-manager","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.5-1","7.7-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"request-tracker4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.4.4+dfsg-2ubuntu1","4.4.4+dfsg-2ubuntu1.22.04.1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"ckeditor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.16.0+dfsg-2","4.16.2+dfsg-1","4.16.2+dfsg-1ubuntu0.1~esm1","4.16.2+dfsg-1ubuntu0.1~esm2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"ckeditor3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.6.1+dfsg-7"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"ldap-account-manager","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.3-1","8.5-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"request-tracker4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.4.4+dfsg-2ubuntu1","4.4.4+dfsg-2ubuntu2","4.4.7+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"ldap-account-manager","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.0-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"request-tracker4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.4.7+dfsg-4syncable1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"ldap-account-manager","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.0-1","9.0-1build1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"request-tracker4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.4.7+dfsg-4syncable1"]}],"products":[{"vendor":"ckeditor","product":"ckeditor"},{"vendor":"ckeditor","product":"ckeditor4"},{"vendor":"drupal","product":"drupal"},{"vendor":"oracle","product":"agile_product_lifecycle_management"},{"vendor":"oracle","product":"application_express"},{"vendor":"oracle","product":"banking_apis"},{"vendor":"oracle","product":"banking_digital_experience"},{"vendor":"oracle","product":"commerce_guided_search"},{"vendor":"oracle","product":"peoplesoft_enterprise_peopletools"},{"vendor":"oracle","product":"webcenter_portal"}],"references":[{"url":"https://github.com/ckeditor/ckeditor4/blob/major/CHANGES.md#ckeditor-417","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web","report"]},{"url":"https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-7h26-63m7-qhf2","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web","report"]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","advisory","fix","web"]},{"url":"https://www.drupal.org/sa-core-2021-011","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web","report"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","advisory","fix","web"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["x_refsource_MISC","x_transferred","Not Applicable","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41165","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-7h26-63m7-qhf2"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-41165","tags":["advisory"]},{"url":"https://github.com/ckeditor/ckeditor4","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2021-41165","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-41165","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-41165","title":"HTML comments vulnerability allowing to execute JavaScript code","description":"CKEditor4 is an open source WYSIWYG HTML editor. In affected version a vulnerability has been discovered in the core HTML processing module and may affect all plugins used by CKEditor 4. The vulnerability allowed to inject malformed comments HTML bypassing content sanitization, which could result in executing JavaScript code. It affects all users using the CKEditor 4 at version \u003c 4.17.0. The problem has been recognized and patched. The fix will be available in version 4.17.0.","status":"published","published":"2021-11-17T19:15:11Z","modified":"2024-08-04T02:59:31.758Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L","level":"high","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:32:59.105382Z"}],"euvd":[{"id":"EUVD-2021-2315","description":"CKEditor4 is an open source WYSIWYG HTML editor. In affected version a vulnerability has been discovered in the core HTML processing module and may affect all plugins used by CKEditor 4. The vulnerability allowed to inject malformed comments HTML bypassing content sanitization, which could result in executing JavaScript code. It affects all users using the CKEditor 4 at version \u003c 4.17.0. The problem has been recognized and patched. The fix will be available in version 4.17.0.","status":"published","published":"2021-11-17T19:15:11Z","modified":"2024-08-04T02:59:31Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L","level":"high"}],"updated_at":"2026-11-03T03:24:19.242491Z"}],"ghsa":[{"id":"GHSA-7h26-63m7-qhf2","title":"HTML comments vulnerability allowing to execute JavaScript code","description":"### Affected packages\nThe vulnerability has been discovered in the core HTML processing module and may affect all plugins used by CKEditor 4.\n\n### Impact\nA potential vulnerability has been discovered in CKEditor 4 HTML processing core module. The vulnerability allowed to inject malformed comments HTML bypassing content sanitization, which could result in executing JavaScript code. It affects all users using the CKEditor 4 at version \u003c 4.17.0.\n\n### Patches\nThe problem has been recognized and patched. The fix will be available in version 4.17.0.\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 William Bowling ([wbowling](https://github.com/wbowling)) for recognizing and reporting this vulnerability.\n","status":"published","published":"2021-11-17T21:58:25Z","modified":"2023-12-28T05:05:25Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:37:28.753349Z"}],"nvd":[{"id":"CVE-2021-41165","description":"CKEditor4 is an open source WYSIWYG HTML editor. In affected version a vulnerability has been discovered in the core HTML processing module and may affect all plugins used by CKEditor 4. The vulnerability allowed to inject malformed comments HTML bypassing content sanitization, which could result in executing JavaScript code. It affects all users using the CKEditor 4 at version \u003c 4.17.0. The problem has been recognized and patched. The fix will be available in version 4.17.0.","status":"published","published":"2021-11-17T20:15:10.273Z","modified":"2026-06-17T04:08:00.417Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L","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:07:01.428028Z"}],"osv":[{"id":"CVE-2021-41165","description":"CKEditor4 is an open source WYSIWYG HTML editor. In affected version a vulnerability has been discovered in the core HTML processing module and may affect all plugins used by CKEditor 4. The vulnerability allowed to inject malformed comments HTML bypassing content sanitization, which could result in executing JavaScript code. It affects all users using the CKEditor 4 at version \u003c 4.17.0. The problem has been recognized and patched. The fix will be available in version 4.17.0.","status":"published","published":"2021-11-17T20:15:10.273Z","modified":"2026-10-24T10:51:25.584993764Z","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:21.249056Z"},{"id":"DEBIAN-CVE-2021-41165","description":"CKEditor4 is an open source WYSIWYG HTML editor. In affected version a vulnerability has been discovered in the core HTML processing module and may affect all plugins used by CKEditor 4. The vulnerability allowed to inject malformed comments HTML bypassing content sanitization, which could result in executing JavaScript code. It affects all users using the CKEditor 4 at version \u003c 4.17.0. The problem has been recognized and patched. The fix will be available in version 4.17.0.","status":"published","published":"2021-11-17T20:15:10.273Z","modified":"2026-10-23T18:04:38.585893729Z","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.521549Z"},{"id":"GHSA-7h26-63m7-qhf2","title":"HTML comments vulnerability allowing to execute JavaScript code","description":"### Affected packages\nThe vulnerability has been discovered in the core HTML processing module and may affect all plugins used by CKEditor 4.\n\n### Impact\nA potential vulnerability has been discovered in CKEditor 4 HTML processing core module. The vulnerability allowed to inject malformed comments HTML bypassing content sanitization, which could result in executing JavaScript code. It affects all users using the CKEditor 4 at version \u003c 4.17.0.\n\n### Patches\nThe problem has been recognized and patched. The fix will be available in version 4.17.0.\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 William Bowling ([wbowling](https://github.com/wbowling)) for recognizing and reporting this vulnerability.\n","status":"published","published":"2021-11-17T21:58:25Z","modified":"2026-07-08T06:28:44.197637595Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:41.002603Z"},{"id":"UBUNTU-CVE-2021-41165","description":"CKEditor4 is an open source WYSIWYG HTML editor. In affected version a vulnerability has been discovered in the core HTML processing module and may affect all plugins used by CKEditor 4. The vulnerability allowed to inject malformed comments HTML bypassing content sanitization, which could result in executing JavaScript code. It affects all users using the CKEditor 4 at version \u003c 4.17.0. The problem has been recognized and patched. The fix will be available in version 4.17.0.","status":"published","published":"2021-11-17T20:15:00Z","modified":"2026-05-20T16:05:10.125893161Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L","level":"high"},{"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:54:29.220315Z"},{"id":"BIT-drupal-2021-41165","title":"HTML comments vulnerability allowing to execute JavaScript code","description":"CKEditor4 is an open source WYSIWYG HTML editor. In affected version a vulnerability has been discovered in the core HTML processing module and may affect all plugins used by CKEditor 4. The vulnerability allowed to inject malformed comments HTML bypassing content sanitization, which could result in executing JavaScript code. It affects all users using the CKEditor 4 at version \u003c 4.17.0. The problem has been recognized and patched. The fix will be available in version 4.17.0.","status":"published","published":"2024-03-06T10:55:05.906Z","modified":"2026-09-10T16:01:00.039616289Z","updated_at":"2026-11-02T15:28:29.563843Z"}]}}
