Vulnerability · Published Feb 7, 2024 · Assigned by GitHub_M
CVE-2024-24815CKEditor4 Cross-site scripting (XSS) vulnerability caused by incorrect CDATA detection
Medium 6.1
In plain English
A medium-severity cross-site scripting in ckeditor4 from ckeditor. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | ckeditor | no fix listed | DEBIAN-CVE-2024-24815 |
| Debian:12 | ckeditor3 | no fix listed | DEBIAN-CVE-2024-24815 |
| Packagist | ckeditor/ckeditor | 4.24.0 | GHSA-fq6h-4g8v-qqvm |
| Ubuntu:25.10 | ckeditor | no fix listed | UBUNTU-CVE-2024-24815 |
| Ubuntu:22.04:LTS | ckeditor3 | no fix listed | UBUNTU-CVE-2024-24815 |
| Ubuntu:24.04:LTS | ckeditor3 | no fix listed | UBUNTU-CVE-2024-24815 |
| Ubuntu:22.04:LTS | ldap-account-manager | no fix listed | UBUNTU-CVE-2024-24815 |
| Ubuntu:24.04:LTS | ldap-account-manager | no fix listed | UBUNTU-CVE-2024-24815 |
| Ubuntu:25.10 | ldap-account-manager | no fix listed | UBUNTU-CVE-2024-24815 |
| Ubuntu:26.04:LTS | ldap-account-manager | no fix listed | UBUNTU-CVE-2024-24815 |
| Ubuntu:22.04:LTS | request-tracker4 | no fix listed | UBUNTU-CVE-2024-24815 |
| Ubuntu:24.04:LTS | request-tracker4 | no fix listed | UBUNTU-CVE-2024-24815 |
| Ubuntu:25.10 | request-tracker4 | no fix listed | UBUNTU-CVE-2024-24815 |
| Ubuntu:26.04:LTS | request-tracker4 | no fix listed | UBUNTU-CVE-2024-24815 |
| npm | ckeditor4 | 4.24.0-lts | GHSA-fq6h-4g8v-qqvm |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
References
- https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-fq6h-4g8v-qqvm x_refsource_CONFIRM
- https://github.com/ckeditor/ckeditor4/commit/8ed1a3c93d0ae5f49f4ecff5738ab8a2972194cb x_refsource_MISC
- https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dtd.html#property-S-cdata x_refsource_MISC
- https://ckeditor.com/docs/ckeditor4/latest/features/fullpage.html x_refsource_MISC
- https://ckeditor.com/docs/ckeditor4/latest/guide/dev_advanced_content_filter.html x_refsource_MISC
- https://www.drupal.org/sa-contrib-2024-009