CVE-2025-66844: Vulnerability in Getgrav Grav

Critical. 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.

Packagist, CWE-918

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-729w-j79f-2c34
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-918
Published
15 Dec 2025
Last change
23 Oct 2026
Ecosystem
Packagist

Affected products

Affected versions and the first fixed release

  • Getgrav Grav Before 1.7.49.5. Fixed in 1.7.49.5

Affected packages

Vulnerable version ranges and fixed releases

  • getgrav/grav Packagist, Affected through 1.7.49.5. No fixed version recorded

Advisories

Vendor and security advisories

Related