CVE-2022-32114
Summary
| CVE | CVE-2022-32114 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-07-13 21:15:08 UTC |
| Updated | 2026-07-02 16:00:48 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 8.8 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.015780000 probability, percentile 0.725200000 (date 2026-07-04)
Problem Types: CWE-434 | n/a
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 2.0 | [email protected] | Primary | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
LowAuthentication
SingleConfidentiality
PartialIntegrity
PartialAvailability
PartialAV:N/AC:L/Au:S/C:P/I:P/A:P
NVD Known Affected Configurations (CPE 2.3)
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Public assets configuration | Strapi Documentation | af854a3a-2127-422b-91ae-364da2661108 | docs.strapi.io | |
| strapi/index.js at d9277d616b4478a3839e79e47330a4aaf167a2f1 · strapi/strapi · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | |
| Strapi v4.1.12 — Unrestricted File Upload - GrimTheRipper - Medium | af854a3a-2127-422b-91ae-364da2661108 | grimthereaperteam.medium.com | Exploit, Third Party Advisory |
| Configuring administrator roles | Strapi Documentation | af854a3a-2127-422b-91ae-364da2661108 | docs.strapi.io | |
| GitHub - bypazs/strapi: strapi v4.1.12 have vulnerability file upload | af854a3a-2127-422b-91ae-364da2661108 | github.com | Product |
| strapi/index.js at d9277d616b4478a3839e79e47330a4aaf167a2f1 · strapi/strapi · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.