NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2025-66844: Grav may be vulnerable to SSRF attack via Twig Templates

criticalCVSS 3.1 9.1GHSA-729w-j79f-2c34

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.

Published Dec 15, 2025 · Updated Dec 17, 2025

Affected packages

getgrav/grav

Ecosystem
Composer (PHP)
Affected
<= 1.7.49.5
Fixed in
No patched version yet
Check
composer show getgrav/grav

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries