CKEditor4 Cross-site scripting (XSS) vulnerability caused by incorrect CDATA detection
Published Feb 7, 2024
6.1
MEDIUMCVSS 3.1
EPSS 0.71%
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 products
-
- Version < 4.24.0-ltsStatusaffectedConstraints-
- Version
No data.
No Red Hat product state for this CVE.
ckeditor4
npm
Introduced 0 Fixed 4.24.0-ltsckeditor/ckeditor
Packagist
Introduced 0 Fixed 4.24.0
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | ckeditor4 | 0 | 4.24.0-lts |
| Packagist | ckeditor/ckeditor | 0 | 4.24.0 |
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
PartialDecision
n/aAssessed Feb 8, 2024 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2024–2026- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (8 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.71% (0.00706) | 51.65th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.71% (0.00706) | 48.35th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.69% (0.00693) | 70.16th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.06% (0.00059) | 26.87th | v3 (v2023.03.01) |
| May 24, 2024 | 0.06% (0.00059) | 24.71th | v3 (v2023.03.01) |
| Mar 7, 2024 | 0.06% (0.00059) | 22.70th | v3 (v2023.03.01) |
| Feb 16, 2024 | 0.05% (0.00051) | 16.64th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.05% (0.00048) | 14.47th | v3 (v2023.03.01) |
References (8)
- https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dtd.html#property-S-cdata x_refsource_MISCProduct
- https://ckeditor.com/docs/ckeditor4/latest/features/fullpage.html x_refsource_MISCProduct
- https://ckeditor.com/docs/ckeditor4/latest/guide/dev_advanced_content_filter.html x_refsource_MISCProduct
- https://github.com/advisories/GHSA-fq6h-4g8v-qqvm Advisory
- https://github.com/ckeditor/ckeditor4/commit/8ed1a3c93d0ae5f49f4ecff5738ab8a2972194cb x_refsource_MISCPatch
- https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-fq6h-4g8v-qqvm x_refsource_CONFIRMVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2024-24815
- https://www.drupal.org/sa-contrib-2024-009
| Link | Providers | Tags |
|---|---|---|
| https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dtd.html#property-S-cdata | x_refsource_MISCProduct | |
| https://ckeditor.com/docs/ckeditor4/latest/features/fullpage.html | x_refsource_MISCProduct | |
| https://ckeditor.com/docs/ckeditor4/latest/guide/dev_advanced_content_filter.html | x_refsource_MISCProduct | |
| https://github.com/advisories/GHSA-fq6h-4g8v-qqvm | Advisory | |
| https://github.com/ckeditor/ckeditor4/commit/8ed1a3c93d0ae5f49f4ecff5738ab8a2972194cb | x_refsource_MISCPatch | |
| https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-fq6h-4g8v-qqvm | x_refsource_CONFIRMVendor Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-24815 | ||
| https://www.drupal.org/sa-contrib-2024-009 |
Change history (0)
No recorded changes yet.