CVE-2022-27952 Unrestricted Upload of File with Dangerous Type in Payload
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.
| Package | Affected | Fixed in |
|---|---|---|
payload npm | All versions | 0.15.1 |
payload npm | All versions | 0.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.
Other vulnerabilities in n/a
- CVE-2026-105857 Payload: RCE in Payload Form Builder
- CVE-2026-105859 Payload: Unauthorized update to collection documents
- CVE-2026-25544 Payload has an SQL Injection in JSON/RichText Queries on PostgreSQL/SQLite Adapters
- CVE-2026-105851 Payload: Field access control bypass on auth collections
- CVE-2026-105863 Payload authentication token field handling issue
Sources
Also known as GHSA-w8xh-93qh-35vw.