Skip to content
OpenAdvisories
Medium · 6.1 CVE-2024-24815 EUVD-2024-0630GHSA-fq6h-4g8v-qqvm

CKEditor4 Cross-site scripting (XSS) vulnerability caused by incorrect CDATA detection

Published Feb 7, 2024 · Updated Feb 13, 2025 · Assigned by GitHub_M

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

VendorProductAffectedFixed
ckeditor ckeditor4 < 4.24.0-lts —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 12 ckeditor +1 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS request-tracker4 +1 No fix yet —
Ubuntu 25.10 ckeditor +2 No fix yet —
Ubuntu 24.04 LTS ckeditor3 +2 No fix yet —
Ubuntu 22.04 LTS ckeditor3 +2 No fix yet —
Ubuntu 20.04 LTS ckeditor3 +2 No fix yet —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS ckeditor3 +1 No fix yet —
Ubuntu 16.04 LTS request-tracker4 +1 No fix yet —
Ubuntu Pro 24.04 LTS ckeditor 4.22.1+dfsg1-2ubuntu0.24.04.1~esm1 USN-7258-1
Ubuntu Pro 22.04 LTS ckeditor 4.16.2+dfsg-1ubuntu0.1~esm1 USN-7258-1
Ubuntu Pro 20.04 LTS ckeditor 4.12.1+dfsg-1ubuntu0.1+esm1 USN-7258-1
Ubuntu Pro 18.04 LTS ckeditor 4.5.7+dfsg-2ubuntu0.18.04.1+esm1 USN-7258-1
Ubuntu Pro 18.04 LTS request-tracker4 No fix yet —
Ubuntu Pro 16.04 LTS ckeditor 4.5.7+dfsg-2ubuntu0.16.04.1~esm2 USN-7258-1
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP5 python-django-ckeditor 6.7.2-bp155.3.3.1 openSUSE-SU-2025:0008-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-django-ckeditor 6.7.2-1.1 openSUSE-SU-2024:14557-1
openSUSE Leap 15.5 python-django-ckeditor 6.7.2-bp155.3.3.1 openSUSE-SU-2025:0008-1

Affected packages

EcosystemPackageAffectedFixedRecord
npm ckeditor4 < 4.24.0-lts 4.24.0-lts GHSA-fq6h-4g8v-qqvm
Packagist ckeditor/ckeditor < 4.24.0 4.24.0 GHSA-fq6h-4g8v-qqvm

Advisories 4

References