CVE-2025-66844CWE-918ssrf

CVE-2025-66844

Critical Ā· published December 15, 2025

CVSS v3.1
9.1
EPSS
0%
Percentile
20.5
In the wild
Unconfirmed
What it is

🚨 A sneaky SSRF vulnerability in Grav versions <1.7.49.5 lets attackers send requests to internal resources just by playing with Twig templates! šŸ”„ Think of this as a waiter who mistakenly delivers a message to the wrong table—an attacker could trick the server into fetching sensitive data from behind your firewall as easily as ordering dessert! šŸ° This could lead to an attacker gaining access to internal services, like databases or admin panels, putting your entire infrastructure at risk. Imagine someone being able to peek behind the curtains of your operations—absolutely devastating!

Put simply

Think of this as a waiter who mistakenly delivers a message to the wrong table—an attacker could trick the server into fetching sensitive data from behind your firewall as easily as ordering dessert! šŸ° This vulnerability exploits a Server-Side Request Forgery (SSRF) flaw in Grav when using Twig templates that allow unvalidated PHP functions to be registered, permitting unauthorized requests to internal resources.

What to do

This could lead to an attacker gaining access to internal services, like databases or admin panels, putting your entire infrastructure at risk. Imagine someone being able to peek behind the curtains of your operations—absolutely devastating! Immediately upgrade to version 1.7.49.5 or later to patch this vulnerability. Additionally, review your configuration to ensure that only safe, defined functions are allowed within your Twig templates. Regularly audit your settings to keep security tight! You've got this! Implement these fixes and reinforce your defenses! šŸ›”ļø

The record
Technical detail
CVSS v3.1
9.1 Ā· CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00291 Ā· 20.5th percentile
Weakness
CWE-918 Ā· Server-Side Request Forgery (SSRF)
Published
2025-12-15T21:15Z
Affected products (1)
ProductVersionsFixed in
getgrav/grav< 1.7.49.51.7.49.5
References (1)
EPSS history
Timeline
  • 15 DEC 00:00Z
    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…
    cvelistv5