CVE-2022-27952 Unrestricted Upload of File with Dangerous Type in Payload

Critical 9.8 Published Updated

Attackers can execute arbitrary code by uploading a crafted SVG file in PayloadCMS, requiring an upgrade to mitigate.

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

What is CVE-2022-27952?

CVE-2022-27952 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 module of PayloadCMS v0.15.0 allows attackers to execute arbitrary code via a crafted SVG file.

Weakness: CWE-434

Which versions are affected by CVE-2022-27952?

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

PackageAffectedFixed in
payload npmAll versions0.15.1
payload npmAll versions0.15.1

Products include Payloadcms Payload.

How do I fix CVE-2022-27952?

Upgrade payload to 0.15.1 or later.

Is CVE-2022-27952 being exploited?

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

Sources

Also known as GHSA-w8xh-93qh-35vw.

Is CVE-2022-27952 in your software?

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

Check your SBOMs for free