CVE-2020-4061 Cross-site Scripting in OctoberPotential self-XSS when pasting content from malicious websites

Low 3.7 Published Updated

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.

PackageAffectedFixed in
october/backend PackagistFrom 1.0.3191.0.467
october/backend PackagistFrom 1.0.3191.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.

All Octobercms October vulnerabilities

Sources

Also known as GHSA-3pc2-fm7p-q2vg.

Is CVE-2020-4061 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free