{"api_version":"1","generated_at":"2026-05-15T05:04:38+00:00","cve":"CVE-2022-32114","urls":{"html":"https://cve.report/CVE-2022-32114","api":"https://cve.report/api/cve/CVE-2022-32114.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-32114","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-32114"},"summary":{"title":"CVE-2022-32114","description":"** DISPUTED ** 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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2022-07-13 21:15:00","updated_at":"2023-11-07 03:47:00"},"problem_types":["CWE-434"],"metrics":[],"references":[{"url":"https://github.com/bypazs/strapi","name":"https://github.com/bypazs/strapi","refsource":"MISC","tags":[],"title":"GitHub - bypazs/strapi: strapi v4.1.12 have vulnerability file upload","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://docs.strapi.io/user-docs/users-roles-permissions/configuring-administrator-roles","name":"https://docs.strapi.io/user-docs/users-roles-permissions/configuring-administrator-roles","refsource":"MISC","tags":[],"title":"Configuring administrator roles | Strapi Documentation","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://grimthereaperteam.medium.com/strapi-v4-1-12-unrestricted-file-upload-b993bfd07e4e","name":"https://grimthereaperteam.medium.com/strapi-v4-1-12-unrestricted-file-upload-b993bfd07e4e","refsource":"MISC","tags":[],"title":"Strapi v4.1.12 — Unrestricted File Upload - GrimTheRipper - Medium","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/strapi/strapi/blob/d9277d616b4478a3839e79e47330a4aaf167a2f1/packages/core/content-type-builder/admin/src/components/AllowedTypesSelect/index.js#L14","name":"https://github.com/strapi/strapi/blob/d9277d616b4478a3839e79e47330a4aaf167a2f1/packages/core/content-type-builder/admin/src/components/AllowedTypesSelect/index.js#L14","refsource":"MISC","tags":[],"title":"strapi/index.js at d9277d616b4478a3839e79e47330a4aaf167a2f1 · strapi/strapi · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/strapi/strapi/blob/d9277d616b4478a3839e79e47330a4aaf167a2f1/packages/core/upload/admin/src/components/MediaLibraryInput/index.js#L33","name":"https://github.com/strapi/strapi/blob/d9277d616b4478a3839e79e47330a4aaf167a2f1/packages/core/upload/admin/src/components/MediaLibraryInput/index.js#L33","refsource":"MISC","tags":[],"title":"strapi/index.js at d9277d616b4478a3839e79e47330a4aaf167a2f1 · strapi/strapi · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://docs.strapi.io/dev-docs/configurations/public-assets","name":"https://docs.strapi.io/dev-docs/configurations/public-assets","refsource":"MISC","tags":[],"title":"Public assets configuration | Strapi Documentation","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-32114","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-32114","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"32114","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"strapi","cpe5":"strapi","cpe6":"4.1.12","cpe7":"-","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2022-32114","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"** DISPUTED ** 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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://github.com/bypazs/strapi","refsource":"MISC","name":"https://github.com/bypazs/strapi"},{"url":"https://grimthereaperteam.medium.com/strapi-v4-1-12-unrestricted-file-upload-b993bfd07e4e","refsource":"MISC","name":"https://grimthereaperteam.medium.com/strapi-v4-1-12-unrestricted-file-upload-b993bfd07e4e"},{"refsource":"MISC","name":"https://docs.strapi.io/dev-docs/configurations/public-assets","url":"https://docs.strapi.io/dev-docs/configurations/public-assets"},{"refsource":"MISC","name":"https://docs.strapi.io/user-docs/users-roles-permissions/configuring-administrator-roles","url":"https://docs.strapi.io/user-docs/users-roles-permissions/configuring-administrator-roles"},{"refsource":"MISC","name":"https://github.com/strapi/strapi/blob/d9277d616b4478a3839e79e47330a4aaf167a2f1/packages/core/upload/admin/src/components/MediaLibraryInput/index.js#L33","url":"https://github.com/strapi/strapi/blob/d9277d616b4478a3839e79e47330a4aaf167a2f1/packages/core/upload/admin/src/components/MediaLibraryInput/index.js#L33"},{"refsource":"MISC","name":"https://github.com/strapi/strapi/blob/d9277d616b4478a3839e79e47330a4aaf167a2f1/packages/core/content-type-builder/admin/src/components/AllowedTypesSelect/index.js#L14","url":"https://github.com/strapi/strapi/blob/d9277d616b4478a3839e79e47330a4aaf167a2f1/packages/core/content-type-builder/admin/src/components/AllowedTypesSelect/index.js#L14"}]}},"nvd":{"publishedDate":"2022-07-13 21:15:00","lastModifiedDate":"2023-11-07 03:47:00","problem_types":["CWE-434"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.5},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:strapi:strapi:4.1.12:-:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}