VDB
Sign up
HIGH8.8

GHSA-2r53-9295-3m86

Statamic CMS vulnerable to remote code execution via form uploads

Quick fix

GHSA-2r53-9295-3m86 — statamic/cms: upgrade to the fixed version with the command below.

composer require statamic/cms:^4.34.0

Details

### Impact

Similar to [another advisory](https://github.com/statamic/cms/security/advisories/GHSA-72hg-5wr5-rmfc), 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.

### Patches It has been patched in 3.4.14 and 4.34.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.34.0
Fixcomposer require statamic/cms:^4.34.0
Packagist/statamic/cms
Introduced in: 0Fixed in: 3.4.14
Fixcomposer require statamic/cms:^3.4.14

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"]}'