Quick answers
- Is CVE-2026-22707 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-22707 being exploited in the wild.
- How severe is CVE-2026-22707?
- Medium severity, with a CVSS score of 5.4, published 14 May 2026.
- Which products and versions are affected?
- @strapi/upload (npm) <= 5.33.2, SEMVER:introduced=0,fixed=5.33.3; Strapi Upload < 5.33.3, <= 5.33.2.
- Is there a fix for CVE-2026-22707?
- Yes. @strapi/upload (npm): upgrade to 5.33.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-22707 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-22707?
- Check whether you run @strapi/upload (npm) or Strapi Upload at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- @strapi/upload (npm): upgrade to 5.33.3 or later
npm install @strapi/upload@5.33.3
Technical details
In Strapi versions prior to 5.33.3, the Upload plugin's Content API endpoints (`uploadFiles` and `replaceFile`) failed to enforce administrator-configured MIME type restrictions defined in `plugin.upload.security.allowedTypes` and `deniedTypes`. While these checks were present in the Admin Panel upload path via the `enforceUploadSecurity` function, they were missing from the Content API controller, which called the underlying upload service directly. This bypass allows an authenticated attacker with Content API upload permissions to upload dangerous file types like HTML or SVG. In default deployments where uploaded files are served from the same origin as the admin panel, this can be leveraged for a Cross-Site Scripting (XSS) attack to hijack administrator sessions. The vulnerability is addressed in version 5.33.3 by implementing a shared `prepareUploadRequest` helper across all upload entry points.
Affected products
- Strapi @strapi/upload <= 5.33.2
Identifiers
- CVE-2026-22707
- GHSA-pcw7-5633-82vv
Timeline
- 2026-01-09: other: Initial report by kaminuma
- 2026-05-13: advisory: GitHub advisory published
- 2026-05-14: disclosed: NVD publication date