What’s Vulnerable › Vulnerabilities

CVE-2023-48217: Remote code execution via form uploads in statamic/cms

Description

Statamic is a flat-first, Laravel + Git powered CMS designed for building websites. In affected versions certain additional PHP files crafted to look like images may be uploaded regardless of mime type validation rules. This affects front-end forms using the "Forms" feature, and asset upload fields in the control panel. Malicious users could leverage this vulnerability to upload and execute code. This issue has been patched in versions 3.4.14 and 4.34.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Affected products

How to fix

Upgrade to a fixed version: Statamic 3.4.14, 4.34.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-48217 or the next vulnerability affects your stack