CVE 8.8 HIGH

Security Sandbox Bypass with SSTI (Server Side Template Injection) in the Grav CMS_CVE-2025-66299

8.8 / 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

AI Analysis

Server-Side Template Injection (SSTI) vulnerability in Grav CMS, allowing authenticated users to execute arbitrary code on the server, bypassing security sandbox

Basic Information

ID CVE-2025-66299
Source GitHub_M
Published Dec 1, 2025 at 21:15

Affected Product

Vendor getgrav
Product grav
Version < 1.8.0-beta.27
Affected Versions getgrav grav < 1.8.0-beta.27

CWE Classification

AI Assessment

AI Score 8.8 / 10
AI Severity High
Vendor getgrav
Product Grav CMS
Version < 1.8.0-beta.27

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.