CVE-2024-24815CKEditor4 Cross-site scripting (XSS) vulnerability caused by incorrect CDATA detection
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
Fixed builds are available from Packagist, npm: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | ldap-account-manager | Under investigation | UBUNTU-CVE-2024-24815 | |
| Ubuntu 26.04 | request-tracker4 | Under investigation | UBUNTU-CVE-2024-24815 | |
| Ubuntu 25.10 | ckeditor | Will not fix embedded copies of ckeditor are in ldap-account-manager, rt4, and rt5 Upstream patches for CKEditor do not have a open source compatible license | UBUNTU-CVE-2024-24815 | |
| Ubuntu 25.10 | ldap-account-manager | Will not fix embedded copies of ckeditor are in ldap-account-manager, rt4, and rt5 Upstream patches for CKEditor do not have a open source compatible license | UBUNTU-CVE-2024-24815 | |
| Ubuntu 25.10 | request-tracker4 | Will not fix embedded copies of ckeditor are in ldap-account-manager, rt4, and rt5 Upstream patches for CKEditor do not have a open source compatible license | UBUNTU-CVE-2024-24815 | |
| Ubuntu 24.04 | ckeditor | Fix pending | UBUNTU-CVE-2024-24815 | |
| Ubuntu 24.04 | ckeditor3 | Under investigation | UBUNTU-CVE-2024-24815 | |
| Ubuntu 24.04 | ldap-account-manager | Under investigation | UBUNTU-CVE-2024-24815 | |
| Ubuntu 24.04 | request-tracker4 | Under investigation | UBUNTU-CVE-2024-24815 | |
| Ubuntu 22.04 | ckeditor | Fix pending | UBUNTU-CVE-2024-24815 | |
| Ubuntu 22.04 | ckeditor3 | Under investigation | UBUNTU-CVE-2024-24815 | |
| Ubuntu 22.04 | ldap-account-manager | Under investigation | UBUNTU-CVE-2024-24815 | |
| Ubuntu 22.04 | request-tracker4 | Under investigation | UBUNTU-CVE-2024-24815 | |
| Ubuntu 20.04 | ckeditor | Fix pending | UBUNTU-CVE-2024-24815 | |
| Ubuntu 20.04 | ckeditor3 | Will not fix embedded copies of ckeditor are in ldap-account-manager, rt4, and rt5 Upstream patches for CKEditor do not have a open source compatible license | UBUNTU-CVE-2024-24815 | |
| Ubuntu 20.04 | ldap-account-manager | Will not fix embedded copies of ckeditor are in ldap-account-manager, rt4, and rt5 Upstream patches for CKEditor do not have a open source compatible license | UBUNTU-CVE-2024-24815 | |
| Ubuntu 20.04 | request-tracker4 | Will not fix embedded copies of ckeditor are in ldap-account-manager, rt4, and rt5 Upstream patches for CKEditor do not have a open source compatible license | UBUNTU-CVE-2024-24815 | |
| Ubuntu 18.04 | ckeditor | Fix pending | UBUNTU-CVE-2024-24815 | |
| Ubuntu 18.04 | ckeditor3 | Will not fix embedded copies of ckeditor are in ldap-account-manager, rt4, and rt5 Upstream patches for CKEditor do not have a open source compatible license | UBUNTU-CVE-2024-24815 | |
| Ubuntu 18.04 | ldap-account-manager | Will not fix embedded copies of ckeditor are in ldap-account-manager, rt4, and rt5 Upstream patches for CKEditor do not have a open source compatible license | UBUNTU-CVE-2024-24815 | |
| Ubuntu 18.04 | request-tracker4 | Fix pending | UBUNTU-CVE-2024-24815 | |
| Ubuntu 16.04 | ckeditor | Will not fix embedded copies of ckeditor are in ldap-account-manager, rt4, and rt5 Upstream patches for CKEditor do not have a open source compatible license | UBUNTU-CVE-2024-24815 | |
| Ubuntu 16.04 | ldap-account-manager | Will not fix embedded copies of ckeditor are in ldap-account-manager, rt4, and rt5 Upstream patches for CKEditor do not have a open source compatible license | UBUNTU-CVE-2024-24815 | |
| Ubuntu 16.04 | request-tracker4 | Will not fix embedded copies of ckeditor are in ldap-account-manager, rt4, and rt5 Upstream patches for CKEditor do not have a open source compatible license | UBUNTU-CVE-2024-24815 | |
| Ubuntu 14.04 | ckeditor | Will not fix embedded copies of ckeditor are in ldap-account-manager, rt4, and rt5 Upstream patches for CKEditor do not have a open source compatible license | ||
| Ubuntu 14.04 | ldap-account-manager | Will not fix embedded copies of ckeditor are in ldap-account-manager, rt4, and rt5 Upstream patches for CKEditor do not have a open source compatible license | ||
| Ubuntu 14.04 | request-tracker4 | Will not fix embedded copies of ckeditor are in ldap-account-manager, rt4, and rt5 Upstream patches for CKEditor do not have a open source compatible license | ||
| Debian 12 | ckeditor | Fix pending | DEBIAN-CVE-2024-24815 | |
| Debian 12 | ckeditor3 | Fix pending | DEBIAN-CVE-2024-24815 | |
| Packagist library | ckeditor/ckeditor | Fixed | 4.24.0 | GHSA-fq6h-4g8v-qqvm |
| npm library | ckeditor4 | Fixed | 4.24.0-lts | GHSA-fq6h-4g8v-qqvm |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- ckeditor4: affected: < 4.24.0-lts
References
- https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-fq6h-4g8v-qqvm
- https://github.com/ckeditor/ckeditor4/commit/8ed1a3c93d0ae5f49f4ecff5738ab8a2972194cb
- https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dtd.html#property-S-cdata
- https://ckeditor.com/docs/ckeditor4/latest/features/fullpage.html
- https://ckeditor.com/docs/ckeditor4/latest/guide/dev_advanced_content_filter.html
- https://www.drupal.org/sa-contrib-2024-009
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.