Quick answers
- Is CVE-2020-22864 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2020-22864 being exploited in the wild.
- How severe is CVE-2020-22864?
- Low severity, with a CVSS score of 3.1, published 28 October 2021.
- Which products and versions are affected?
- froala-editor (npm) SEMVER:introduced=0,fixed=4.0.11.
- Is there a fix for CVE-2020-22864?
- Yes. froala-editor (npm): upgrade to 4.0.11 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2020-22864 attacked?
- It is attacked over the network.
- Am I affected by CVE-2020-22864?
- Check whether you run froala-editor (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
- froala-editor (npm): upgrade to 4.0.11 or later
npm install froala-editor@4.0.11
Technical details
A cross-site scripting (CWE-79) vulnerability exists in the Insert Video function of Froala WYSIWYG Editor, specifically when processing embedded video code. The vulnerability allows unauthenticated attackers to inject arbitrary HTML and JavaScript via the "Embedded Code" option by bypassing input sanitization, enabling execution of malicious scripts in the context of users' browsers. The attack vector is network-based and requires user interaction (inserting a video with malicious code), but user interaction is typically part of normal editor operation. Attackers can achieve arbitrary script execution with the scope expanded to affect other users who view content containing the payload. Patches are available in version 4.0.11 and later.
Affected products
- Froala froala-editor <= 4.0.6
Identifiers
- CVE-2020-22864
- GHSA-97x5-cc53-cv4v
Timeline
- 2020-04-16: disclosed: Vulnerability reported on GitHub issue #3880
- 2021-10-28: patched: Advisory published; fix available in version 4.0.11
- 2021-10-28: advisory