CVE-2024-24815 json
CKEditor4 Cross-site scripting (XSS) vulnerability caused by incorrect CDATA detection
published 2024-02-07 2 y ago modified 2026-09-10 1 mo ago also GHSA-fq6h-4g8v-qqvm , EUVD-2024-0630
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 53%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm ckeditor4 4.24.0-lts
- packagist ckeditor/ckeditor 4.24.0
- ckeditor ckeditor 4.24.0
- python-django-ckeditor Package Hub 15 SP5, openSUSE Leap 15.5 6.7.2-bp155.3.3.1
- python-django-ckeditor openSUSE Tumbleweed 6.7.2-1.1
opensuse advisories openSUSE-SU-2025:0008-1openSUSE-SU-2024:14557-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-24815 updated cvss 6.1
ckeditor: cross-site scripting vulnerability via incorrect CDATA detection
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.71% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | ckeditor4 | <4.24.0-lts |
4.24.0-lts |
| packagist | ckeditor/ckeditor | <4.24.0 |
4.24.0 |
Affected products
- ckeditor ckeditor4
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/ckeditor/ckeditor4/commit/8ed1a3c93d0ae5f49f4ecff5738ab8a2972194cb
web, patch
-
github.com
/ckeditor/ckeditor4/security/advisories/GHSA-fq6h-4g8v-qqvm
web, vendor-advisory
-
ckeditor.com
/docs/ckeditor4/latest/api/CKEDITOR_dtd.html#property-S-cdata
web, product
-
ckeditor.com
/docs/ckeditor4/latest/features/fullpage.html
web, product
-
ckeditor.com
/docs/ckeditor4/latest/guide/dev_advanced_content_filter.html
web, product
-
drupal.org
/sa-contrib-2024-009
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-24815
advisory
-
github.com
/ckeditor/ckeditor4
package
Sources
- CVE List CVE-2024-24815
- GitHub Advisory GHSA-fq6h-4g8v-qqvm
- NVD CVE-2024-24815
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.