CVE & CISA-KEV Catalog

CVE-2026-22707

MEDIUM
5.4
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
strapiNVD
Affected:< 5.33.3Fixed in:5.33.3CVE-2026-22707derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Exploit Intelligence

0.19%probability of exploitation in 30 days
9thpercentile

Low risk: more likely to be exploited than 9% of all known CVEs.

References

Vendor Advisory1

Related Vulnerabilities

Other CWE-434 (Unrestricted File Upload) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2017-12617High8.1100%KEVFix
CVE-2018-15961Critical9.8100%KEV-
CVE-2021-31207Medium6.6100%KEV + RansomFix
CVE-2017-12615High8.1100%KEV + Ransom-
CVE-2025-31324Critical10.099%KEV + Ransom-
CVE-2024-50623Critical9.899%KEV + RansomFix
Embed a live status badge for CVE-2026-22707
CVE-2026-22707 severity badge

Markdown

[![CVE-2026-22707](https://tridentstack.com/cve/badge/CVE-2026-22707.svg)](https://tridentstack.com/cve/CVE-2026-22707)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-22707"><img src="https://tridentstack.com/cve/badge/CVE-2026-22707.svg" alt="CVE-2026-22707"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-05-16.