CVE-2024-24815Ckeditor
Medium 6.1 No auth needed
Follow: this CVE · Ckeditor · Ckeditor We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 61
- Auth required
- No
- Published
- Feb 7, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Ckeditor.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | ckeditor/ckeditor |
< 4.24.0 |
4.24.0 |
composer require "ckeditor/ckeditor:^4.24.0" |
| npm | ckeditor4 |
< 4.24.0-lts |
4.24.0-lts |
npm install ckeditor4@4.24.0-lts |
Per OSV / GitHub Advisories (GHSA-fq6h-4g8v-qqvm). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ckeditor | ckeditor | ≥ 4.0 < 4.24.0 |
Official sources
References
Links published by the sources. Open them with care.
- ckeditor.com Product
- ckeditor.com Product
- ckeditor.com Product
- github.com Patch
- github.com Vendor Advisory
- www.drupal.org