Read the docs
TI-2026-18234 Aliases CVE-2026-22707GHSA-pcw7-5633-82vv

Strapi Upload Plugin MIME Validation Bypass via Content API

Priority LOW 29CWE-434Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution, Security bypass
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-434 and CWE-693.

Summary

Strapi is an open source headless content management system. In Strapi versions prior to 5.33.3, the Upload plugin's Content API endpoints did not enforce the administrator-configured MIME type restrictions (`plugin.upload.security.allowedTypes` and `deniedTypes`). The same restrictions were correctly enforced on the Admin Panel upload path. The upload plugin's `enforceUploadSecurity` security check was invoked in the admin upload controller but was missing from the Content API controller. The Content API handlers `uploadFiles` and `replaceFile` (and the `upload` wrapper that dispatches to them) called the underlying upload service directly, bypassing both the magic-byte MIME detection and the configured allow/deny lists. An authenticated user with the Content API upload permission could therefore upload file types the administrator had explicitly disallowed, including HTML and SVG content. In deployments serving uploaded files from the same origin as the admin panel (default), an attacker could upload an HTML or SVG file that, when opened directly by an admin, executed JavaScript in the admin origin, enabling admin-session hijack and authenticated administrative actions against the admin API. The patch in version 5.33.3 introduces a shared `prepareUploadRequest` helper that wraps `enforceUploadSecurity` and is called from both the Content API and admin upload controllers, ensuring identical security policy enforcement on every upload entry point.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00195 9th percentileScored 2026-11-07
Fix Fixed strapi (strapi): 5.33.3@strapi/upload (strapi): 5.33.3+1 more product

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Strapistrapibefore 5.33.35.33.3Patch availableCNA
Strapi@strapi/uploadbefore 5.33.35.33.3Patch availableCNA
—@strapi/upload (npm)before 5.33.35.33.3Patch availableGHSA-pcw7-5633-82vv
  • strapi VendorStrapi Affected before 5.33.3 Fixed in 5.33.3 Patch available CNA
  • @strapi/upload VendorStrapi Affected before 5.33.3 Fixed in 5.33.3 Patch available CNA
  • @strapi/upload (npm) Vendor— Affected before 5.33.3 Fixed in 5.33.3 Patch available GHSA-pcw7-5633-82vv

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:strapi:strapi:*:*:*:*:*:node.js:*:*before 5.33.3VulnerableStrapi
  • cpe:2.3:a:strapi:strapi:*:*:*:*:*:node.js:*:* Versions before 5.33.3 Vulnerable ·Strapi

Remediation

  • Fix · CNA strapi (strapi) Fixed in 5.33.3
  • Fix · CNA @strapi/upload (strapi) Fixed in 5.33.3
  • Fix · GHSA-pcw7-5633-82vv @strapi/upload (npm) Fixed in 5.33.3 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-22707
  2. 2026-10-03 Alias added: GHSA-pcw7-5633-82vv

References

  • TI-2023-09037 Query filter flaw in Strapi exposes sensitive user details KEVCVSS 3.1HIGH 7.2
  • TI-2019-13554 strapi before 3.0.0-beta.17.5 mishandles password resets within… CVSS 3.1CRITICAL 9.8
  • TI-2023-19887 Strapi Improper Rate Limiting vulnerability CVSS 3.1CRITICAL 9.8
  • TI-2023-08803 Strapi through 4.5.5 allows authenticated Server-Side Template Injection (SSTI) that can… CVSS 3.1CRITICAL 10.0
  • TI-2024-25161 Strapi v4.24.4 was discovered to contain a Server-Side Request Forgery (SSRF) via the… CVSS 3.1HIGH 8.6
  • TI-2023-17071 Leaking sensitive user information still possible by filtering on private with prefix fields CVSS 3.1HIGH 8.6
See all 38 →

Sources