Live threats

All CVEs / Strapi

CVE-2024-31217Strapi

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
1.1%
probability of exploitation in 30 days · percentile 64
Auth required
Yes
Published
Jun 12, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-248
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What happens

Strapi is an open-source content management system. Prior to version 4.22.0, a denial-of-service vulnerability is present in the media upload process causing the server to crash without restarting, affecting either development and production environments. Usually, errors in the application cause it to log the error and keep it running for other clients. This behavior, in contrast, stops the server execution, making it unavailable for any clients until it's manually restarted. Any user with access to the file upload functionality is able to exploit this vulnerability, affecting applications running in both development mode and production mode as well. Users should upgrade @strapi/plugin-upload to version 4.22.0 to receive a patch.

Original NVD text.

What to do

  1. Apply the vendor's security update for Strapi.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @strapi/plugin-upload < 4.22.0 4.22.0 npm install @strapi/plugin-upload@4.22.0

Per OSV / GitHub Advisories (GHSA-pm9q-xj9p-96pm). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
strapistrapi< 4.22.0

Official sources

References

Links published by the sources. Open them with care.