cvedb.io
CVE-2022-32114
HIGH · CVSS 8.8
EPSS exploitation probability: 0%
Published 2022-07-13T21:15:08.083 · Last modified 2026-07-02T16:00:48.177

Summary

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 products

strapi — strapi

Does this affect you?

Add your gear to cvedb and we'll alert you only when strapi ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.