GHSA-729w-j79f-2c34critical9.1
Grav may be vulnerable to SSRF attack via Twig Templates
Impact
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.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
getgrav/grav Packagist
| Affected range | Recorded fix |
|---|---|
| Earlier releases through 1.7.49.5 (inclusive)Ecosystem versions | Not recorded |
Version evidence: OSV · GHSA-729w-j79f-2c34
View original version evidence (285 explicit versions)
Original source description
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.