{"id":"GHSA-7h26-63m7-qhf2","summary":"HTML comments vulnerability allowing to execute JavaScript code","details":"### 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","aliases":["BIT-drupal-2021-41165","CVE-2021-41165"],"modified":"2026-07-08T06:28:44.197637595Z","published":"2021-11-17T21:58:25Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2021-11-17T19:57:11Z","nvd_published_at":"2021-11-17T20:15:00Z","cwe_ids":["CWE-79"]},"references":[{"type":"WEB","url":"https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-7h26-63m7-qhf2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41165"},{"type":"PACKAGE","url":"https://github.com/ckeditor/ckeditor4"},{"type":"WEB","url":"https://github.com/ckeditor/ckeditor4/blob/major/CHANGES.md#ckeditor-417"},{"type":"WEB","url":"https://www.drupal.org/sa-core-2021-011"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuapr2022.html"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujan2022.html"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujul2022.html"}],"affected":[{"package":{"name":"ckeditor4","ecosystem":"npm","purl":"pkg:npm/ckeditor4"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.17.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/11/GHSA-7h26-63m7-qhf2/GHSA-7h26-63m7-qhf2.json"}},{"package":{"name":"ckeditor/ckeditor","ecosystem":"Packagist","purl":"pkg:composer/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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/11/GHSA-7h26-63m7-qhf2/GHSA-7h26-63m7-qhf2.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L"}]}