PT-2026-40780

CVE-2026-22707

·

Published

2026-05-13

·

Updated

2026-05-14

Description by

CVSS 3.1
5.4
Medium
MetricsAV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions @strapi/upload versions prior to 5.33.3
Description In the Upload plugin, Content API endpoints failed to enforce administrator-configured MIME type restrictions defined in plugin.upload.security.allowedTypes and deniedTypes. While these restrictions were active for the Admin Panel, the enforceUploadSecurity security check was missing from the Content API controller. Consequently, the uploadFiles and replaceFile handlers, as well as the upload wrapper, bypassed MIME detection and allow/deny lists.
An authenticated user with Content API upload permissions could upload disallowed file types, such as HTML and SVG. If uploaded files are served from the same origin as the admin panel, an attacker could upload a malicious HTML or SVG file. When opened by an administrator, this file could execute JavaScript within the admin origin, potentially leading to admin-session hijacking and unauthorized administrative actions via the admin API.
Recommendations Update @strapi/upload to version 5.33.3 or later.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-PCW7-5633-82VV
Found an issue in the description? Have something to add? Feel free to write us 👾