Vulnerability Description
CKEditor4 is an open source what-you-see-is-what-you-get HTML editor. A cross-site scripting vulnerability has been discovered in the core HTML parsing module in versions of CKEditor4 prior to 4.24.0-lts. It may affect all editor instances that enabled full-page editing mode or enabled CDATA elements in Advanced Content Filtering configuration (defaults to `script` and `style` elements). The vulnerability allows attackers to inject malformed HTML content bypassing Advanced Content Filtering mechanism, which could result in executing JavaScript code. An attacker could abuse faulty CDATA content detection and use it to prepare an intentional attack on the editor. A fix is available in version 4.24.0-lts.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ckeditor | Ckeditor | >= 4.0, < 4.24.0 |
Related Weaknesses (CWE)
References
- https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dtd.html#property-S-cdatProduct
- https://ckeditor.com/docs/ckeditor4/latest/features/fullpage.htmlProduct
- https://ckeditor.com/docs/ckeditor4/latest/guide/dev_advanced_content_filter.htmProduct
- https://github.com/ckeditor/ckeditor4/commit/8ed1a3c93d0ae5f49f4ecff5738ab8a2972Patch
- https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-fq6h-4g8v-qqvmVendor Advisory
- https://www.drupal.org/sa-contrib-2024-009
- https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dtd.html#property-S-cdatProduct
- https://ckeditor.com/docs/ckeditor4/latest/features/fullpage.htmlProduct
- https://ckeditor.com/docs/ckeditor4/latest/guide/dev_advanced_content_filter.htmProduct
- https://github.com/ckeditor/ckeditor4/commit/8ed1a3c93d0ae5f49f4ecff5738ab8a2972Patch
- https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-fq6h-4g8v-qqvmVendor Advisory
- https://www.drupal.org/sa-contrib-2024-009
FAQ
What is CVE-2024-24815?
CVE-2024-24815 is a vulnerability with a CVSS score of 6.1 (MEDIUM). CKEditor4 is an open source what-you-see-is-what-you-get HTML editor. A cross-site scripting vulnerability has been discovered in the core HTML parsing module in versions of CKEditor4 prior to 4.24.0-...
How severe is CVE-2024-24815?
CVE-2024-24815 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-24815?
Check the references section above for vendor advisories and patch information. Affected products include: Ckeditor Ckeditor.