CVE-2022-32114 — An unrestricted file upload vulnerability in the Add New Assets function of Stra
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
Published
2022-07-13T21:15:08.083
Last modified
2026-07-02T16:00:48.177
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
01What is this vulnerability?
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…
02Affected products
No structured affected-product list available — see references below for vendor advisories.
03Active exploitation status
Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.
04Recommended remediation
- Patch to a fixed version listed in the vendor advisory (see references below).
- Mitigate with WAF rules, network egress filters, or feature flags where the patch is not yet available.
- Hunt historical logs for exploitation indicators — see Detection signatures below.
05Technical details
For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.
06Detection signatures
Ask SARA in chat to draft a starting detection for this CVE in your stack of choice.
07Related CVEs
No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.
08Timeline
- Published: 2022-07-13T21:15:08.083
- Last modified: 2026-07-02T16:00:48.177
09References
- docs.strapi.io — https://docs.strapi.io/dev-docs/configurations/public-assets
- docs.strapi.io — https://docs.strapi.io/user-docs/users-roles-permissions/configuring-administrat…
- github.com — https://github.com/bypazs/strapi
- github.com — https://github.com/strapi/strapi/blob/d9277d616b4478a3839e79e47330a4aaf167a2f1/p…
- github.com — https://github.com/strapi/strapi/blob/d9277d616b4478a3839e79e47330a4aaf167a2f1/p…
- grimthereaperteam.medium.com — https://grimthereaperteam.medium.com/strapi-v4-1-12-unrestricted-file-upload-b99…
- docs.strapi.io — https://docs.strapi.io/dev-docs/configurations/public-assets
- docs.strapi.io — https://docs.strapi.io/user-docs/users-roles-permissions/configuring-administrat…
- github.com — https://github.com/bypazs/strapi
- github.com — https://github.com/strapi/strapi/blob/d9277d616b4478a3839e79e47330a4aaf167a2f1/p…
Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →