Live threats

All CVEs / Getgrav

CVE-2025-66299Getgrav Grav

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
—
Auth required
Yes
Published
Dec 1, 2025
Updated
Sep 26, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94, CWE-1336
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

Grav is a file-based Web platform. Prior to 1.8.0-beta.27, Grav CMS is vulnerable to a Server-Side Template Injection (SSTI) that allows any authenticated user with editor permissions to execute arbitrary code on the remote server, bypassing the existing security sandbox. Since the security sandbox does not fully protect the Twig object, it is possible to interact with it (e.g., call methods, read/write attributes) through maliciously crafted Twig template directives injected into a web page. This allows an authenticated editor to add arbitrary functions to the Twig attribute system.twig.safe_filters, effectively bypassing the Grav CMS sandbox. This vulnerability is fixed in 1.8.0-beta.27.

Original NVD text.

What to do

  1. Apply the vendor's security update for Grav.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist getgrav/grav < 1.8.0-beta.27 1.8.0-beta.27 composer require "getgrav/grav:^1.8.0-beta.27"

Per OSV / GitHub Advisories (GHSA-gjc5-8cfh-653x). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
getgravgrav< 1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0
getgravgrav1.8.0

Official sources

References

Links published by the sources. Open them with care.