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.

Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.7%top 46.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12ckeditorno fix listedDEBIAN-CVE-2024-24815
Debian:12ckeditor3no fix listedDEBIAN-CVE-2024-24815
Packagistckeditor/ckeditor4.24.0GHSA-fq6h-4g8v-qqvm
Ubuntu:25.10ckeditorno fix listedUBUNTU-CVE-2024-24815
Ubuntu:22.04:LTSckeditor3no fix listedUBUNTU-CVE-2024-24815
Ubuntu:24.04:LTSckeditor3no fix listedUBUNTU-CVE-2024-24815
Ubuntu:22.04:LTSldap-account-managerno fix listedUBUNTU-CVE-2024-24815
Ubuntu:24.04:LTSldap-account-managerno fix listedUBUNTU-CVE-2024-24815
Ubuntu:25.10ldap-account-managerno fix listedUBUNTU-CVE-2024-24815
Ubuntu:26.04:LTSldap-account-managerno fix listedUBUNTU-CVE-2024-24815
Ubuntu:22.04:LTSrequest-tracker4no fix listedUBUNTU-CVE-2024-24815
Ubuntu:24.04:LTSrequest-tracker4no fix listedUBUNTU-CVE-2024-24815
Ubuntu:25.10request-tracker4no fix listedUBUNTU-CVE-2024-24815
Ubuntu:26.04:LTSrequest-tracker4no fix listedUBUNTU-CVE-2024-24815
npmckeditor44.24.0-ltsGHSA-fq6h-4g8v-qqvm

Affected products (as reported)

VendorProductVersions
ckeditor ckeditor4 < 4.24.0-lts

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

References