Arbitrary file upload in strapi - CVE-2026-22707
Published: May 13, 2026
strapi
Detailed vulnerability description
The vulnerability allows a remote user to upload dangerous file types and execute script in the admin origin.
The vulnerability exists due to unrestricted upload of file with dangerous type in the Upload plugin Content API endpoints when handling file upload requests. A remote user can upload a crafted HTML or SVG file to upload dangerous file types and execute script in the admin origin.
User interaction is required because an administrator must open the uploaded file directly. The issue affects deployments serving uploaded files from the same origin as the admin panel.