VDB
Sign up
MEDIUM5.4

GHSA-pf9c-ch8r-2958

Statamic CMS: Server-Side Request Forgery via Glide

Quick fix

GHSA-pf9c-ch8r-2958 — statamic/cms: upgrade to the fixed version with the command below.

composer require statamic/cms:^5.73.22

Details

### Impact

The Glide image proxy's URL validation could be bypassed using an IP representation that wasn't normalized before the public-IP check. An unauthenticated user could cause the server to make HTTP requests to internal addresses — including loopback, private network, and cloud metadata endpoints.

This affects sites that pass user-supplied URLs to Glide. Sites running PHP 8.3 or newer are not affected.

### Patches

This has been fixed in 5.73.22 and 6.18.1

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/statamic/cms
Introduced in: 0Fixed in: 5.73.22
Fixcomposer require statamic/cms:^5.73.22
Packagist/statamic/cms
Introduced in: 6.0.0-alpha.1Fixed in: 6.18.1
Fixcomposer require statamic/cms:^6.18.1

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