VDB
Sign up
HIGH7.5

GHSA-8jjh-j3c2-cjcv

Cross-site Scripting via uploaded assets

Quick fix

GHSA-8jjh-j3c2-cjcv — statamic/cms: upgrade to the fixed version with the command below.

composer require statamic/cms:^3.4.15

Details

### Impact HTML files crafted to look like images may be uploaded regardless of mime validation. This is only applicable on front-end forms using the "Forms" feature containing an assets field, or within the control panel which requires authentication.

### Patches It has been patched on 3.4.15 and 4.36.0.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/statamic/cms
Introduced in: 0Fixed in: 3.4.15
Fixcomposer require statamic/cms:^3.4.15
Packagist/statamic/cms
Introduced in: 4.0.0Fixed in: 4.36.0
Fixcomposer require statamic/cms:^4.36.0

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