Quick answers
- Is CVE-2021-32808 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2021-32808 being exploited in the wild.
- How severe is CVE-2021-32808?
- Low severity, with a CVSS score of 3.1, published 23 August 2021.
- Which products and versions are affected?
- ckeditor4 (npm) SEMVER:introduced=4.13.0,fixed=4.16.2.
- Is there a fix for CVE-2021-32808?
- Yes. ckeditor4 (npm): upgrade to 4.16.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2021-32808 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2021-32808?
- Check whether you run ckeditor4 (npm) 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.16.2 or later
npm install ckeditor4@4.16.2
Technical details
The vulnerability is a cross-site scripting (CWE-79) flaw in the CKEditor 4 Widget plugin when used with the Undo feature. The root cause involves improper handling of malformed widget HTML during undo operations, allowing JavaScript code execution. The attack requires user interaction (users must undo an action containing malicious widget HTML) and network access to a CKEditor instance. An attacker can achieve arbitrary JavaScript execution in the context of the web page, leading to session hijacking, data theft, or defacement. The vulnerability affects CKEditor 4 versions 4.13.0 through 4.16.1, with a fix released in version 4.16.2.
Affected products
- CKSource CKEditor 4 4.13.0 to 4.16.1
Identifiers
- CVE-2021-32808
- GHSA-6226-h7ff-ch6c
Timeline
- 2021-08-12: disclosed: Vulnerability disclosed via GitHub Security Advisory
- 2021-08-23: advisory: GHSA-6226-h7ff-ch6c published
- 2021-08-13: patched: Fixed in CKEditor 4.16.2
References
- https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-6226-h7ff-ch6c
- https://github.com/ckeditor/ckeditor4
- https://github.com/ckeditor/ckeditor4/releases/tag/4.16.2
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NYA354LJP47KCVJMTUO77ZCX3ZK42G3T
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UVOYN2WKDPLKCNILIGEZM236ABQASLGW
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WAGNWHFIQAVCP537KFFS2A2GDG66J7XD