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

CVE-2025-66844 · Severity: critical · CVSS 9.1 · Published 2025-12-15

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

Technologies: Getgrav Grav, getgrav/grav (Packagist). Vendors: Getgrav, Packagist.

Quick answers

Is CVE-2025-66844 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-66844 being exploited in the wild.
How severe is CVE-2025-66844?
Critical severity, with a CVSS score of 9.1, published 15 December 2025.
Which products and versions are affected?
getgrav/grav (Packagist) ECOSYSTEM:introduced=0,last_affected=1.7.49.5.
Is there a fix for CVE-2025-66844?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
Am I affected by CVE-2025-66844?
Check whether you run Getgrav Grav or getgrav/grav (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Affected products

  • Getgrav Grav
  • getgrav/grav (Packagist) ECOSYSTEM:introduced=0,last_affected=1.7.49.5

Identifiers

  • CVE-2025-66844
  • GHSA-729w-j79f-2c34

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.