CVE-2021-41165
MEDIUM 5.4CVSS 3.1HTML comments vulnerability allowing to execute JavaScript code
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.
- Published
- 17 Nov 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- BIT-drupal-2021-41165GHSA-7h26-63m7-qhf2
- Sources
- NVDJSONOSV GHSA-7h26-63m7-qhf2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ckeditor | ckeditorcpe:2.3:a:ckeditor:ckeditor:*:*:*:*:*:*:*:* |
< 4.17.0 | 4.17.0 |
| NVD | drupal | drupalcpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* |
>= 8.9.0, < 8.9.20 | 8.9.20 |
| NVD | drupal | drupalcpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* |
>= 9.1.0, < 9.1.14 | 9.1.14 |
| NVD | drupal | drupalcpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* |
>= 9.2.0, < 9.2.9 | 9.2.9 |
| NVD | oracle | agile_product_lifecycle_managementcpe:2.3:a:oracle:agile_product_lifecycle_management:9.3.6:*:*:*:*:*:*:* |
= 9.3.6 | |
| NVD | oracle | application_expresscpe:2.3:a:oracle:application_express:*:*:*:*:*:*:*:* |
< 22.1 | 22.1 |
| NVD | oracle | banking_apiscpe:2.3:a:oracle:banking_apis:*:*:*:*:*:*:*:* |
>= 18.1, <= 18.3 | |
| NVD | oracle | banking_apiscpe:2.3:a:oracle:banking_apis:19.1:*:*:*:*:*:*:* |
= 19.1 | |
| NVD | oracle | banking_apiscpe:2.3:a:oracle:banking_apis:19.2:*:*:*:*:*:*:* |
= 19.2 | |
| NVD | oracle | banking_apiscpe:2.3:a:oracle:banking_apis:20.1:*:*:*:*:*:*:* |
= 20.1 | |
| NVD | oracle | banking_apiscpe:2.3:a:oracle:banking_apis:21.1:*:*:*:*:*:*:* |
= 21.1 | |
| NVD | oracle | banking_digital_experiencecpe:2.3:a:oracle:banking_digital_experience:*:*:*:*:*:*:*:* |
>= 18.1, <= 18.3 | |
| NVD | oracle | banking_digital_experiencecpe:2.3:a:oracle:banking_digital_experience:19.1:*:*:*:*:*:*:* |
= 19.1 | |
| NVD | oracle | banking_digital_experiencecpe:2.3:a:oracle:banking_digital_experience:19.2:*:*:*:*:*:*:* |
= 19.2 | |
| NVD | oracle | banking_digital_experiencecpe:2.3:a:oracle:banking_digital_experience:20.1:*:*:*:*:*:*:* |
= 20.1 | |
| NVD | oracle | banking_digital_experiencecpe:2.3:a:oracle:banking_digital_experience:21.1:*:*:*:*:*:*:* |
= 21.1 | |
| NVD | oracle | commerce_guided_searchcpe:2.3:a:oracle:commerce_guided_search:11.3.2:*:*:*:*:*:*:* |
= 11.3.2 | |
| NVD | oracle | peoplesoft_enterprise_peopletoolscpe:2.3:a:oracle:peoplesoft_enterprise_peopletools:8.58:*:*:*:*:*:*:* |
= 8.58 | |
| NVD | oracle | peoplesoft_enterprise_peopletoolscpe:2.3:a:oracle:peoplesoft_enterprise_peopletools:8.59:*:*:*:*:*:*:* |
= 8.59 | |
| NVD | oracle | webcenter_portalcpe:2.3:a:oracle:webcenter_portal:12.2.1.3.0:*:*:*:*:*:*:* |
= 12.2.1.3.0 | |
| NVD | oracle | webcenter_portalcpe:2.3:a:oracle:webcenter_portal:12.2.1.4.0:*:*:*:*:*:*:* |
= 12.2.1.4.0 | |
| OSV | npm | ckeditor4 | < 4.17.0 | 4.17.0 |
| OSV | Packagist | ckeditor/ckeditor | < 4.17.0 | 4.17.0 |
References
- https://github.com/ckeditor/ckeditor4/blob/major/CHANGES.md#ckeditor-417 · Third Party Advisory, WEB
- https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-7h26-63m7-qhf2 · Third Party Advisory, WEB
- https://www.drupal.org/sa-core-2021-011 · Third Party Advisory, WEB
- https://www.oracle.com/security-alerts/cpuapr2022.html · Patch, Third Party Advisory, WEB
- https://www.oracle.com/security-alerts/cpujan2022.html · Patch, Third Party Advisory, WEB
- https://www.oracle.com/security-alerts/cpujul2022.html · Not Applicable, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-41165 · ADVISORY
- https://github.com/ckeditor/ckeditor4 · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 17 Nov 2021)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 17 Nov 2021)