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