{"cve":{"cve_id":"CVE-2022-32114","is_kev":false,"kev_date_added":null,"kev_vendor_project":null,"kev_product":null,"kev_vulnerability_name":null,"kev_short_description":null,"kev_required_action":null,"kev_due_date":null,"kev_known_ransomware":null,"kev_notes":null,"kev_cwes":null,"epss_score":0.01974,"epss_percentile":0.80104,"epss_as_of":"2026-10-15","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.","published_at":"2022-07-13T00:00:00Z","last_modified_at":"2026-07-02T16:00:48.177000Z","cvss_v3_score":8.8,"cvss_v3_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cvss_v3_severity":"HIGH","cvss_v4_score":null,"cvss_v4_vector":null,"cvss_v4_severity":null,"ssvc_decision":null,"ssvc_exploitation":null,"ssvc_automatable":null,"ssvc_technical_impact":null,"cwes":["CWE-434"],"nvd_references":["https://github.com/bypazs/strapi","https://grimthereaperteam.medium.com/strapi-v4-1-12-unrestricted-file-upload-b993bfd07e4e","https://docs.strapi.io/dev-docs/configurations/public-assets","https://docs.strapi.io/user-docs/users-roles-permissions/configuring-administrator-roles","https://github.com/strapi/strapi/blob/d9277d616b4478a3839e79e47330a4aaf167a2f1/packages/core/upload/admin/src/components/MediaLibraryInput/index.js#L33","https://github.com/strapi/strapi/blob/d9277d616b4478a3839e79e47330a4aaf167a2f1/packages/core/content-type-builder/admin/src/components/AllowedTypesSelect/index.js#L14"],"vuln_status":"Modified","trending_score":null,"is_trending":false,"has_trended":false,"trended_number_one":false,"trending_peak_score":null,"trending_peak_rank":null,"started_trending_at":null,"trended_number_one_at":null,"summary_generated":null,"summary_generated_at":null,"summary_model":null,"created_at":"2026-06-24T00:09:39.878444Z","updated_at":"2026-07-04T01:43:28.989306Z"},"effective_severity":"HIGH","badges":[],"impact_analysis":[],"cvss_v3_decoded":{"version":"3.1","metrics":[{"metric":"AV","name":"Attack Vector","value":"N","value_label":"Network"},{"metric":"AC","name":"Attack Complexity","value":"L","value_label":"Low"},{"metric":"PR","name":"Privileges Required","value":"L","value_label":"Low"},{"metric":"UI","name":"User Interaction","value":"N","value_label":"None"},{"metric":"S","name":"Scope","value":"U","value_label":"Unchanged"},{"metric":"C","name":"Confidentiality","value":"H","value_label":"High"},{"metric":"I","name":"Integrity","value":"H","value_label":"High"},{"metric":"A","name":"Availability","value":"H","value_label":"High"}]},"cvss_v4_decoded":{"version":null,"metrics":[]},"affected":[{"vendor_slug":"strapi","vendor_name":"strapi","product_slug":"strapi","product_name":"strapi","version_start":"4.1.12","version_start_inclusive":true,"version_end":"4.1.12","version_end_inclusive":true,"cpe23_uri":"cpe:2.3:a:strapi:strapi:4.1.12:*:*:*:*:*:*:*"}],"exploit_refs":[],"news":[],"references":[{"url":"https://github.com/bypazs/strapi","source_type":"MISC","tags":[]},{"url":"https://grimthereaperteam.medium.com/strapi-v4-1-12-unrestricted-file-upload-b993bfd07e4e","source_type":"MISC","tags":[]},{"url":"https://docs.strapi.io/dev-docs/configurations/public-assets","source_type":"MISC","tags":[]},{"url":"https://docs.strapi.io/user-docs/users-roles-permissions/configuring-administrator-roles","source_type":"MISC","tags":[]},{"url":"https://github.com/strapi/strapi/blob/d9277d616b4478a3839e79e47330a4aaf167a2f1/packages/core/upload/admin/src/components/MediaLibraryInput/index.js#L33","source_type":"MISC","tags":[]},{"url":"https://github.com/strapi/strapi/blob/d9277d616b4478a3839e79e47330a4aaf167a2f1/packages/core/content-type-builder/admin/src/components/AllowedTypesSelect/index.js#L14","source_type":"MISC","tags":[]}],"timeline":[{"type":"published","at":"2022-07-13T00:00:00Z","label":"CVE published","source":null},{"type":"cvss_changed","at":"2026-07-04T01:41:28.959033Z","label":"CVSS score revised","source":"nvd"},{"type":"cvss_changed","at":"2026-07-04T01:41:28.959033Z","label":"CVSS score revised","source":"nvd"},{"type":"cvss_changed","at":"2026-07-04T01:41:28.959033Z","label":"CVSS score revised","source":"nvd"}]}