← Vulnerability feed

Vulnerability record · CVE-2022-32114 · published 13 July 2022

CVE-2022-32114: Strapi unrestricted file upload vulnerability

Strapi · Strapi

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.

8.8 CVSS 3.1 High EPSS 2.0% · top 20.1% CWE-434 · Unrestricted file upload
8.8CVSS 3.1 base score, v2 6.5
2.0%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
12References, 2 tagged exploit
2 Jul 2026Last modified by NVD

Description

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.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2022-32114 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2023-38507Strapi allocation without limits vulnerabilityStrapi is the an open-source headless content management system. Prior to version 4.12.1, there is a rate limit on the login function of Strapi's adm…EPSS 0.96%9.8CVE-2022-27263Strapi unrestricted file upload vulnerabilityAn arbitrary file upload vulnerability in the file upload module of Strapi v4.1.5 allows attackers to execute arbitrary code via a crafted file.EPSS 3.2%9.8CVE-2020-27664Strapi vulnerabilityadmin/src/containers/InputModalStepperProvider/index.js in Strapi before 3.2.5 has unwanted /proxy?url= functionality.EPSS 2.3%9.8CVE-2019-18818Strapi password reset mishandling enables account takeoverStrapi before 3.0.0-beta.17.5 mishandles password resets in the admin and users-permissions Auth controllers. The flaw is classified as CWE-640 (weak…EPSS 98%analysed9.3CVE-2026-22599Strapi sql injection vulnerabilityStrapi is an open source headless content management system. In versions on the 4.x branch prior to 4.26.1 and on the 5.x branch prior to 5.33.2, a d…EPSS 1.2%9.2CVE-2026-27886Strapi path traversal vulnerabilityStrapi is an open source headless content management system. Strapi versions starting in 4.0.0 and prior to 5.37.0 did not sufficiently sanitize quer…EPSS 2.5%8.8CVE-2022-31367Strapi sql injection vulnerabilityStrapi before 3.6.10 and 4.x before 4.1.10 mishandles hidden attributes within admin API responses.EPSS 1.7%8.8CVE-2022-30617Strapi vulnerabilityAn authenticated user with access to the Strapi admin panel can view private and sensitive data, such as email and password reset tokens, for other a…EPSS 1.5%

Source: NIST National Vulnerability Database (record CVE-2022-32114), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.