ADVISORIES

GitHub Advisory Database

GHSA-729w-j79f-2c34

Grav may be vulnerable to SSRF attack via Twig Templates

Critical No fix available CVE-2025-66844

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

EcosystemPackageAffected versions
Packagistgetgrav/grav
All versions up to and including 1.7.49.5

References