CVE-2020-22864 Cross site scripting in froala-editor
Attackers can execute arbitrary scripts via the Insert Video function in Froala WYSIWYG Editor, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2020-22864?
CVE-2020-22864 is a medium-severity cross-site scripting vulnerability in n/a, published on 26 Oct 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A cross site scripting (XSS) vulnerability in the Insert Video function of Froala WYSIWYG Editor 3.1.0 allows attackers to execute arbitrary web scripts or HTML.
Weakness: CWE-79
Which versions are affected by CVE-2020-22864?
2 open source packages ship an affected version, including froala-editor. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
froala-editor npm | All versions | 4.0.11 |
froala-editor npm | All versions | 4.0.11 |
Products include Froala Froala Editor.
How do I fix CVE-2020-22864?
Upgrade froala-editor to 4.0.11 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2020-22864 being exploited?
There is no known exploitation of CVE-2020-22864 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-97x5-cc53-cv4v.