GitHub Advisory Database
GHSA-pf9c-ch8r-2958
Statamic CMS: Server-Side Request Forgery via Glide
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
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | statamic/cms | All versions before 5.73.22 (fixed in 5.73.22) |
| Packagist | statamic/cms | From 6.0.0-alpha.1 before 6.18.1 (fixed in 6.18.1) |