8.2high
HTML comments vulnerability allowing to execute JavaScript code
- Severity
- 8.2high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.57% (higher than 76% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-7h26-63m7-qhf2BIT-DRUPAL-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 < 4.17.0. The problem has been recognized and patched. The fix will be available in version 4.17.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ckeditor ckeditor4 | < 4.17.0 | CVE List |
| ckeditor4 (npm) | before 4.17.0 | GitHub Advisory Database |
| ckeditor/ckeditor (Packagist) | before 4.17.0 | GitHub Advisory Database |
| ckeditor ckeditor | before 4.17.0 | NVD |
| drupal drupal | from 8.9.0 before 8.9.20, from 9.1.0 before 9.1.14, from 9.2.0 before 9.2.9 | NVD |
| oracle agile_product_lifecycle_management | 9.3.6 | NVD |
| oracle application_express | before 22.1 | NVD |
| oracle banking_apis | from 18.1 up to 18.3, 19.1, 19.2, 20.1, 21.1 | NVD |
| oracle banking_digital_experience | from 18.1 up to 18.3, 19.1, 19.2, 20.1, 21.1 | NVD |
| oracle commerce_guided_search | 11.3.2 | NVD |
| oracle peoplesoft_enterprise_peopletools | 8.58, 8.59 | NVD |
| oracle webcenter_portal | 12.2.1.3.0, 12.2.1.4.0 | NVD |
| drupal (Bitnami) | from 8.9.0 before 8.9.20, from 9.1.0 before 9.1.14, from 9.2.0 before 9.2.9 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L |
| GitHub | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.5low CVSS:2.0 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Affected packages
The vulnerability has been discovered in the core HTML processing module and may affect all plugins used by CKEditor 4.
Impact
A 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.
Patches
The problem has been recognized and patched. The fix will be available in version 4.17.0.
For more information
Email us at security@cksource.com if you have any questions or comments about this advisory.
Acknowledgements
The CKEditor 4 team would like to thank William Bowling (wbowling) for recognizing and reporting this vulnerability.
NVD (es)
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.
References
| https://github.com/ckeditor/ckeditor4/blob/major/CHANGES.md#ckeditor-417 | advisory, third-party-advisory, web | |
| https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-7h26-63m7-qhf2 | advisory, third-party-advisory, web | |
| https://www.oracle.com/security-alerts/cpujan2022.html | advisory, patch, third-party-advisory, web | |
| https://www.drupal.org/sa-core-2021-011 | advisory, third-party-advisory, web | |
| https://www.oracle.com/security-alerts/cpuapr2022.html | advisory, 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, web | |
| https://github.com/ckeditor/ckeditor4 | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-41165 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-7h26-63m7-qhf2 changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2021-41165 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-DRUPAL-2021-41165 changed 2026-09-10 | Apache-2.0 |