Arbitrary File Upload Affecting @strapi/upload package, versions <5.33.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.03% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary File Upload vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-STRAPIUPLOAD-16691317
  • published14 May 2026
  • disclosed14 May 2026
  • creditkaminuma, arkmarta

Introduced: 14 May 2026

NewCVE-2026-22707  (opens in a new tab)
CWE-434  (opens in a new tab)

How to fix?

Upgrade @strapi/upload to version 5.33.3 or higher.

Overview

@strapi/upload is a Makes it easy to upload images and files to your Strapi Application.

Affected versions of this package are vulnerable to Arbitrary File Upload via the Content API uploadFiles and replaceFile handlers, which bypass administrator-configured MIME type restrictions. An attacker can upload files with disallowed types, such as HTML or SVG, by exploiting insufficient enforcement of security checks. This can lead to the execution of malicious scripts in the admin origin if an administrator opens the uploaded file, potentially resulting in session hijacking and unauthorized administrative actions.

CVSS Base Scores

version 4.0
version 3.1