Home / Strapi / Strapi / CVE-2022-32114
CVE-2022-32114: is it exploited, and which versions of Strapi are affected and fixed?
CVE-2022-32114 is an unrestricted file upload vulnerability in Strapi. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: @strapi/strapi through 4.1.12 (GitHub advisory GHSA-4vm8-j95f-j6v5). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (8.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:47 UTC.
Disputed: a party (often the vendor) disputes that this is a vulnerability. The record is kept as published.
What is CVE-2022-32114?
An unrestricted file upload vulnerability in the Add New Assets function of Strapi 4.1.12 allows attackers to conduct XSS attacks via a crafted PDF file. NOTE: the project documentation suggests that a user with the Media Library "Create (upload)" permission is supposed to be able to upload PDF files containing JavaScript, and that all files in a public assets folder are accessible to the outside world (unless the filename begins with a dot character). The administrator can choose to allow only image, video, and audio files (i.e., not PDF) if desired.
From the CVE record by mitre, last updated February 13, 2025, 16:32 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | @strapi/strapi | <= 4.1.12 | none listed | GHSA-4vm8-j95f-j6v5 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated March 21, 2024. Summary: Strapi 4.1.12 Cross-site Scripting via crafted file.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| strapi | strapi | 4.1.12 | application |
NVD analysis (status Modified), last modified July 2, 2026, 16:00 UTC.
How severe is CVE-2022-32114?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 6.5 | CVSS 2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-32114 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.06% probability of exploitation activity in the next 30 days, percentile 82.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-434 Unrestricted Upload of File with Dangerous Type
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://github.com/bypazs/strapi
- https://grimthereaperteam.medium.com/strapi-v4-1-12-unrestricted-file-upload-b993bfd07e4e
- https://docs.strapi.io/dev-docs/configurations/public-assets
- https://docs.strapi.io/user-docs/users-roles-permissions/configuring-administrator-roles
- https://github.com/strapi/strapi/blob/d9277d616b4478a3839e79e47330a4aaf167a2f1/packages/core/upload/admin/src/components/MediaLibraryInput/index.js#L33
- https://github.com/strapi/strapi/blob/d9277d616b4478a3839e79e47330a4aaf167a2f1/packages/core/content-type-builder/admin/src/components/AllowedTypesSelect/index.js#L14
When was it published, and where is the official record?
- Reserved
- May 31, 2022
- Published
- July 13, 2022, 00:00 UTC
- CVE record updated
- February 13, 2025, 16:32 UTC by mitre
- NVD
- Modified, last modified July 2, 2026, 16:00 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:47 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Strapi?
- Apr 19, 2023CVE-2023-22894 Strapi: sensitive data stored in clear text exploited
- Oct 10, 2026CVE-2026-108114 strapi: incorrect authorization
- Sep 13, 2026CVE-2026-90561 strapi: cross-site scripting (XSS)
- Jun 29, 2026CVE-2026-57997 strapi: broken or risky cryptography
- May 14, 2026CVE-2026-27886 strapi: path traversal (reading or writing files outside the intended folder)
- May 14, 2026CVE-2026-22707 strapi: unrestricted file upload
- May 14, 2026CVE-2026-22706 strapi: session does not expire
- May 14, 2026CVE-2026-22599 strapi: SQL injection
Questions about CVE-2022-32114
Is CVE-2022-32114 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 2.06% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Strapi are affected by CVE-2022-32114?
@strapi/strapi through 4.1.12, per the GitHub advisory GHSA-4vm8-j95f-j6v5. The tables above give every range the sources list.
Which version fixes CVE-2022-32114?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2022-32114?
High (8.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2022-32114?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.