{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-32114","published":"2022-07-13T21:15:08.083000Z","last_modified":"2026-07-02T16:00:48.177000Z","status":"Modified","cvss":{"version":"3.1","score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-434"],"cpes":[{"criteria":"cpe:2.3:a:strapi:strapi:4.1.12:*:*:*:*:*:*:*","part":"a","vendor":"strapi","product":"strapi","version":"4.1.12"}],"cpes_truncated":false,"vendors":["strapi"],"products":["strapi/strapi"],"epss":{"score":0.0178,"percentile":0.78768,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-4vm8-j95f-j6v5","ecosystem":"npm","name":"@strapi/strapi","purl":"pkg:npm/%40strapi/strapi","ranges":[{"introduced":"0","last_affected":"4.1.12"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":53,"links":{"html_es":"/es/cve/CVE-2022-32114/","html_en":"/en/cve/CVE-2022-32114/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-32114","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-32114"},"untrusted":{"vendor_name":"Strapi","product_name":"Strapi","desc_en":"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.","affected":[],"references":[{"url":"https://docs.strapi.io/dev-docs/configurations/public-assets","tags":[]},{"url":"https://docs.strapi.io/user-docs/users-roles-permissions/configuring-administrator-roles","tags":[]},{"url":"https://github.com/bypazs/strapi","tags":["Product"]},{"url":"https://github.com/strapi/strapi/blob/d9277d616b4478a3839e79e47330a4aaf167a2f1/packages/core/content-type-builder/admin/src/components/AllowedTypesSelect/index.js#L14","tags":[]},{"url":"https://github.com/strapi/strapi/blob/d9277d616b4478a3839e79e47330a4aaf167a2f1/packages/core/upload/admin/src/components/MediaLibraryInput/index.js#L33","tags":[]},{"url":"https://grimthereaperteam.medium.com/strapi-v4-1-12-unrestricted-file-upload-b993bfd07e4e","tags":["Exploit","Third Party Advisory"]}]}}