CVE-2022-27260 Unrestricted Upload of File with Dangerous Type in ButterCMS

Critical 9.8 Published Updated

Attackers can execute arbitrary code by uploading a crafted SVG file through the ButterCMS file upload component.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-27260?

CVE-2022-27260 is a critical vulnerability in n/a, published on 12 Apr 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An arbitrary file upload vulnerability in the file upload component of ButterCMS v1.2.8 allows attackers to execute arbitrary code via a crafted SVG file.

Weakness: CWE-434

Which versions are affected by CVE-2022-27260?

2 open source packages ship an affected version, including buttercms. It affects 1 product.

PackageAffectedFixed in
buttercms npmAll versions to 1.2.8None
buttercms npmAll versions to 1.2.8None

Products include Buttercms Buttercms.

How do I fix CVE-2022-27260?

No fix has been published for CVE-2022-27260 yet. Limit exposure of the affected software until one is available.

Is CVE-2022-27260 being exploited?

There is no known exploitation of CVE-2022-27260 in the wild and no public exploit code.

Sources

Also known as GHSA-3v5x-qjrp-q2hq.

Is CVE-2022-27260 in your software?

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

Check your SBOMs for free