CVE-2020-26523 Froala WYSIWYG Editor XSS Vulnerability
An attacker can execute arbitrary scripts in the victim's browser by pasting malicious content into the Froala Editor.
- 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-26523?
CVE-2020-26523 is a medium-severity cross-site scripting vulnerability in n/a, published on 2 Oct 2020. 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
Froala Editor before 3.2.2 allows XSS via pasted content.
Weakness: CWE-79
Which versions are affected by CVE-2020-26523?
2 open source packages ship an affected version, including froala/wysiwyg-editor. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
froala/wysiwyg-editor Packagist | All versions | 3.2.2 |
froala/wysiwyg-editor Packagist | All versions | 3.2.2 |
Products include Froala Froala Editor.
How do I fix CVE-2020-26523?
Upgrade froala/wysiwyg-editor to 3.2.2 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-26523 being exploited?
There is no known exploitation of CVE-2020-26523 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-qrhq-x7xh-2784.