Quick answers
- Is CVE-2022-24728 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2022-24728 being exploited in the wild.
- How severe is CVE-2022-24728?
- Low severity, with a CVSS score of 3.1, published 16 March 2022.
- Which products and versions are affected?
- ckeditor4 (npm) SEMVER:introduced=0,fixed=4.18.0; drupal/core (Packagist) ECOSYSTEM:introduced=8.0.0,fixed=9.2.15|ECOSYSTEM:introduced=9.3.0,fixed=9.3.8.
- Is there a fix for CVE-2022-24728?
- Yes. ckeditor4 (npm): upgrade to 4.18.0 or later; drupal/core (Packagist): upgrade to 9.2.15 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2022-24728 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2022-24728?
- Check whether you run ckeditor4 (npm) or drupal/core (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- ckeditor4 (npm): upgrade to 4.18.0 or later
npm install ckeditor4@4.18.0 - drupal/core (Packagist): upgrade to 9.2.15 or later
composer require drupal/core:^9.2.15
Technical details
The vulnerability is a cross-site scripting (CWE-79) flaw in CKEditor 4's core HTML processing module affecting content sanitization. An attacker can inject malformed HTML that circumvents the content filtering rules, resulting in arbitrary JavaScript code execution within the editor or the edited document. The attack requires an authenticated user with access to the editor and user interaction (e.g., pasting malicious content or processing attacker-controlled HTML). The vulnerability has been patched in version 4.18.0, which introduced randomized protection keywords and improved the sanitization mechanism to prevent HTML injection bypass techniques. The fix was released on March 16, 2022.
Affected products
- CKSource CKEditor 4 < 4.18.0
Identifiers
- CVE-2022-24728
- CVE-2022-24729
- DRUPAL-CORE-2022-005
- GHSA-4fc4-4p5g-6w89
Timeline
- 2022-03-16: disclosed: Vulnerability publicly disclosed via GHSA-4fc4-4p5g-6w89
- 2022-03-16: patched: Fix released in CKEditor 4.18.0
References
- https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-4fc4-4p5g-6w89
- https://github.com/ckeditor/ckeditor4/commit/d158413449692d920a778503502dcb22881bc949
- https://ckeditor.com/cke4/release/CKEditor-4.18.0
- https://github.com/ckeditor/ckeditor4
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VR76VBN5GW5QUBJFHVXRX36UZ6YTCMW6
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WOZGMCYDB2OKKULFXZKM6V7JJW4ZZHJP