Description

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.

INFO

Published Date :

2025-12-01T21:15:11.704Z

Last Modified :

2025-12-02T14:07:58.544Z

Source :

GitHub_M
AFFECTED PRODUCTS

The following products are affected by CVE-2025-66299 vulnerability.

Vendors Products
Getgrav
  • Grav
REFERENCES

Here, you will find a curated list of external links that provide in-depth information to CVE-2025-66299.

CVSS Vulnerability Scoring System

Detailed values of each vector for above chart.
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact