LiveActive security incident?Get immediate response
CVE Record

CVE-2022-32114: An unrestricted file upload vulnerability in the Add New Assets function of Strapi 4.1.12 allows attackers...

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

This issue concerns Strapi 4.1.12 allowing permitted Media Library users to upload PDF files that may contain JavaScript. If those files are publicly accessible, a victim who opens a crafted PDF could face XSS-style browser risk. The CVE note says this behavior may align with Strapi documentation and configuration choices.

Executive priority

Prioritize as moderate when content contributors or external users can upload media. If only trusted administrators can upload PDFs, urgency is lower, but the configuration should still be reviewed because public assets can be externally accessible.

Technical view

CVE-2022-32114 describes unrestricted file upload in Strapi's Add New Assets function enabling XSS via crafted PDFs. The record notes users with Media Library Create upload permission can upload PDFs, public assets are externally accessible unless dot-prefixed, and administrators can restrict allowed media types to image, video, and audio.

Likely exposure

Exposure is most likely in Strapi 4.1.12 deployments where non-admin or less-trusted users have Media Library Create upload permission and PDF uploads remain allowed in public assets.

Exploitation context

The provided sources do not show KEV listing or active exploitation evidence. Exploitation appears to require upload permission and a victim interacting with the uploaded crafted PDF.

Researcher notes

Evidence is nuanced: the CVE note says Strapi documentation permits PDF uploads with JavaScript for users granted upload permission. No CVSS, CWE, CPE, patch, or KEV signal is provided. Treat validation as a configuration and trust-boundary assessment, not proof of universal exposure.

Mitigation direction

  • Restrict Media Library Create upload permission to trusted administrators only.
  • Disable PDF uploads where business workflows do not require them.
  • Review public asset exposure and avoid publishing untrusted uploaded files.
  • Check Strapi vendor guidance for supported versions and any remediation.
  • Document the accepted risk if PDF uploads must remain enabled.

Validation and detection

  • Inventory Strapi instances and confirm whether version 4.1.12 is present.
  • Review administrator roles for Media Library Create upload permission.
  • Check allowed media types for PDF acceptance.
  • Audit public asset storage for unexpected or user-supplied PDFs.
  • Review upload logs for unusual PDF upload activity.
Prepared
Confidence
medium
Sources
8

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

description · low confidence lookup

File access behavior lookup

The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-32114 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
7Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.