All reports
Critical

Grav may be vulnerable to SSRF attack via Twig Templates

Affected versions

Affected versions
<= 1.7.49.5
Fixed version
Not reported

Exploitation

CVE-2025-66844

Probability of exploitation in the next 30 days: 0.31%

FIRST EPSS · 2026-11-20

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.

Links