CVE-2022-32114Strapi
High 8.8
Follow: this CVE · Strapi · Strapi We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 1.8% probability of exploitation in 30 days · percentile 79
- Auth required
- Yes
- Published
- Jul 13, 2022
- Updated
- Jul 2, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-434
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Strapi.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @strapi/strapi |
≤ 4.1.12 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-4vm8-j95f-j6v5). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| strapi | strapi | 4.1.12 |
Official sources
References
Links published by the sources. Open them with care.
- docs.strapi.io
- docs.strapi.io
- github.com Product
- github.com
- github.com
- grimthereaperteam.medium.com Exploit Third Party Advisory