VDB
Sign up
HIGH8.3

GHSA-72hg-5wr5-rmfc

Statamic CMS remote code execution via front-end form uploads

Quick fix

GHSA-72hg-5wr5-rmfc — statamic/cms: upgrade to the fixed version with the command below.

composer require statamic/cms:^4.33.0

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/statamic/cms
Introduced in: 4.0.0Fixed in: 4.33.0
Fixcomposer require statamic/cms:^4.33.0
Packagist/statamic/cms
Introduced in: 0Fixed in: 3.4.13
Fixcomposer require statamic/cms:^3.4.13

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:composer/statamic/cms"]}'