CVE-2020-4061 Cross-site Scripting in OctoberPotential self-XSS when pasting content from malicious websites
Attackers can execute arbitrary scripts in the victim's browser by tricking them into pasting malicious content into the rich editor.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2020-4061?
CVE-2020-4061 is a low-severity cross-site scripting vulnerability in Octobercms October, published on 2 Jul 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
In October from version 1.0.319 and before version 1.0.467, pasting content copied from malicious websites into the Froala richeditor could result in a successful self-XSS attack. This has been fixed in 1.0.467.
Weakness: CWE-79
Which versions are affected by CVE-2020-4061?
2 open source packages ship an affected version, including october/backend. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
october/backend Packagist | From 1.0.319 | 1.0.467 |
october/backend Packagist | From 1.0.319 | 1.0.467 |
Products include Octobercms October.
How do I fix CVE-2020-4061?
Upgrade october/backend to 1.0.467 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-4061 being exploited?
There is no known exploitation of CVE-2020-4061 in the wild and no public exploit code.
Other vulnerabilities in Octobercms October
Sources
Also known as GHSA-3pc2-fm7p-q2vg.