CVE-2025-66844

CRITICAL

Grav < 1.7.49.5 - Server-Side Request Forgery via Twig Template Processing

Title source: llm
STIX 2.1

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

References (1)

Core 1
Core References
Exploit, Issue Tracking, Third Party Advisory
https://github.com/Yohane-Mashiro/grav_cve/issues/2

Scores

CVSS v3 9.1
EPSS 0.0025
EPSS Percentile 15.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact total

Details

CWE
CWE-918
Status published
Products (2)
getgrav/grav < 1.7.49.5
getgrav/grav 0Packagist
Published Dec 15, 2025
Tracked Since Feb 18, 2026