GitHub Advisory Database
GHSA-729w-j79f-2c34
Grav may be vulnerable to SSRF attack via Twig Templates
Details
In grav <1.7.49.5, a SSRF (Server-Side Request Forgery) vector may be triggered via Twig templates when page content is processed by Twig and the configuration allows undefined PHP functions to be registered.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | getgrav/grav | All versions up to and including 1.7.49.5 |