Skip to content
OpenAdvisories
Medium · 5.4 CVE-2022-24728 BIT-drupal-2022-24728BIT-drupal-2022-24729CVE-2022-24729DRUPAL-CORE-2022-005EUVD-2022-1305GHSA-4fc4-4p5g-6w89GHSA-f6rf-9m92-x2hh

Cross-site Scripting in CKEditor4

Published Mar 16, 2022 · Updated Apr 23, 2025 · Assigned by GitHub_M

Description

CKEditor4 is an open source what-you-see-is-what-you-get HTML editor. A vulnerability has been discovered in the core HTML processing module and may affect all plugins used by CKEditor 4 prior to version 4.18.0. The vulnerability allows someone to inject malformed HTML bypassing content sanitization, which could result in executing JavaScript code. This problem has been patched in version 4.18.0. There are currently no known workarounds.

Affected products

VendorProductAffectedFixed
ckeditor ckeditor4 < 4.18.0 —

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 4.19.0+dfsg-1 —
Debian 12 ckeditor3 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS request-tracker4 +1 No fix yet —
Ubuntu 25.10 request-tracker4 +1 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

Affected packages

EcosystemPackageAffectedFixedRecord
npm ckeditor4 < 4.18.0 4.18.0 GHSA-4fc4-4p5g-6w89
Packagist drupal/core >= 8.0.0, < 9.2.15 · >= 9.3.0, < 9.3.8 9.2.15, 9.3.8 DRUPAL-CORE-2022-005

Advisories 1

References