# CVE-2024-31217: @strapi/plugin-upload has a Denial-of-Service via Improper Exception Handling

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.74%, higher than 55% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-12T14:50:37.999Z
- Modified: 2026-09-10T03:50:15.685Z
- Also known as: GHSA-pm9q-xj9p-96pm
- Weaknesses: CWE-248
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- strapi strapi: < 4.22.0; before 4.22.0
- @strapi/plugin-upload (npm): before 4.22.0

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/strapi/strapi/security/advisories/GHSA-pm9q-xj9p-96pm> (exploit, vendor-advisory, web)
- <https://github.com/strapi/strapi/commit/a0da7e73e1496d835fe71a2febb14f70170135c7> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-31217> (advisory)
- <https://github.com/strapi/strapi> (package)

## Sources

- CVE List: [CVE-2024-31217](https://www.cve.org/CVERecord?id=CVE-2024-31217), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-pm9q-xj9p-96pm](https://github.com/advisories/GHSA-pm9q-xj9p-96pm), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-31217](https://nvd.nist.gov/vuln/detail/CVE-2024-31217), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-31217 · Whole record: https://cve.day/CVE-2024-31217.json · Rebuilt by cve.day 2026-11-25T22:58:41.745Z
