{"id":"CVE-2021-41165","aliases":["CVE-2021-41165","GHSA-7h26-63m7-qhf2","BIT-DRUPAL-2021-41165"],"related":[],"kind":"vulnerability","state":"published","title":"HTML comments vulnerability allowing to execute JavaScript code","summary":"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 < 4.17.0. The problem has been recognized and patched. The fix will be available in version 4.17.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 < 4.17.0. The problem has been recognized and patched. The fix will be available in version 4.17.0.","source":"cvelist"},{"lang":"en","text":"### 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 < 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"CKEditor4 es un editor HTML WYSIWYG de código abierto. En la versión afectada se ha detectado una vulnerabilidad en el módulo central de procesamiento de HTML y puede afectar a todos los plugins usados por CKEditor 4. La vulnerabilidad permitía inyectar comentarios HTML malformados omitiendo el saneo del contenido, lo que podía resultar en una ejecución de código JavaScript. Afecta a todos los usuarios que usan el CKEditor 4 en las versiones anteriores a 4.17.0. El problema ha sido reconocido y parcheado. La corrección estará disponible en la versión 4.17.0.","source":"nvd"}],"published":"2021-11-17T19:15:11.000Z","modified":"2026-09-10T16:01:00.039Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L","score":8.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L","score":8.2,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","score":3.5,"rating":"LOW"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 4.17.0","status":"affected"}],"vendor":"ckeditor","product":"ckeditor4","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.17.0"}],"ecosystem":"npm","package":"ckeditor4","purl":"pkg:npm/ckeditor4","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.17.0"}],"ecosystem":"Packagist","package":"ckeditor/ckeditor","purl":"pkg:composer/ckeditor/ckeditor","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"4.17.0"}],"vendor":"ckeditor","product":"ckeditor","cpe":"cpe:2.3:a:ckeditor:ckeditor:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"8.9.0","fixed":"8.9.20"},{"status":"affected","introduced":"9.1.0","fixed":"9.1.14"},{"status":"affected","introduced":"9.2.0","fixed":"9.2.9"}],"vendor":"drupal","product":"drupal","cpe":"cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.3.6"}],"vendor":"oracle","product":"agile_product_lifecycle_management","cpe":"cpe:2.3:a:oracle:agile_product_lifecycle_management:9.3.6:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"22.1"}],"vendor":"oracle","product":"application_express","cpe":"cpe:2.3:a:oracle:application_express:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"18.1","lastAffected":"18.3"},{"status":"affected","version":"19.1"},{"status":"affected","version":"19.2"},{"status":"affected","version":"20.1"},{"status":"affected","version":"21.1"}],"vendor":"oracle","product":"banking_apis","cpe":"cpe:2.3:a:oracle:banking_apis:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"18.1","lastAffected":"18.3"},{"status":"affected","version":"19.1"},{"status":"affected","version":"19.2"},{"status":"affected","version":"20.1"},{"status":"affected","version":"21.1"}],"vendor":"oracle","product":"banking_digital_experience","cpe":"cpe:2.3:a:oracle:banking_digital_experience:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.3.2"}],"vendor":"oracle","product":"commerce_guided_search","cpe":"cpe:2.3:a:oracle:commerce_guided_search:11.3.2:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.58"},{"status":"affected","version":"8.59"}],"vendor":"oracle","product":"peoplesoft_enterprise_peopletools","cpe":"cpe:2.3:a:oracle:peoplesoft_enterprise_peopletools:8.58:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"12.2.1.3.0"},{"status":"affected","version":"12.2.1.4.0"}],"vendor":"oracle","product":"webcenter_portal","cpe":"cpe:2.3:a:oracle:webcenter_portal:12.2.1.3.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"8.9.0","status":"affected","fixed":"8.9.20"},{"type":"semver","introduced":"9.1.0","status":"affected","fixed":"9.1.14"},{"type":"semver","introduced":"9.2.0","status":"affected","fixed":"9.2.9"}],"ecosystem":"Bitnami","package":"drupal","purl":"pkg:bitnami/drupal","source":"bitnami"}],"references":[{"url":"https://github.com/ckeditor/ckeditor4/blob/major/CHANGES.md#ckeditor-417","tags":["advisory","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-7h26-63m7-qhf2","tags":["advisory","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":["advisory","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://www.drupal.org/sa-core-2021-011","tags":["advisory","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["advisory","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["not-applicable","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41165","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/ckeditor/ckeditor4","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-41165","url":"https://www.cve.org/CVERecord?id=CVE-2021-41165","licence":"CVE Terms of Use","modified":"2024-08-04T02:59:31.758Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7h26-63m7-qhf2","url":"https://github.com/advisories/GHSA-7h26-63m7-qhf2","licence":"CC-BY-4.0","modified":"2026-07-08T06:28:44.197Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-41165","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41165","licence":"Public domain","modified":"2026-06-17T04:08:00.417Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-DRUPAL-2021-41165","url":"https://osv.dev/vulnerability/BIT-DRUPAL-2021-41165","licence":"Apache-2.0","modified":"2026-09-10T16:01:00.039Z"}],"updatedAt":"2026-11-25T22:58:05.640Z","epss":{"score":0.01573,"percentile":0.7615,"date":"2026-12-01T12:00:22.000Z"}}