ADVISORIES

GitHub Advisory Database

GHSA-72hg-5wr5-rmfc

Statamic CMS remote code execution via front-end form uploads

Details

Impact

On front-end forms with an asset upload field, PHP files crafted to look like images may be uploaded regardless of mime validation rules. This only affects forms using the "Forms" feature and not just _any_ arbitrary form. This does not affect the control panel.

Patches

It has been patched in 3.4.13 and 4.33.0.

Affected packages

EcosystemPackageAffected versions
Packagiststatamic/cms
From 4.0.0 before 4.33.0 (fixed in 4.33.0)
Packagiststatamic/cms
All versions before 3.4.13 (fixed in 3.4.13)

References