CVE-2025-66299
HIGHDescription
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.
Is your site exposed to CVE-2025-66299?
Run a free security scan — no signup, results in seconds.
CVSS v3.1 Score
Weakness Type (CWE)
Affected Products
| Vendor | Product |
|---|---|
| getgrav | grav |
| getgrav | grav |
| getgrav | grav |
| getgrav | grav |
| getgrav | grav |
| getgrav | grav |
| getgrav | grav |
| getgrav | grav |
| getgrav | grav |
| getgrav | grav |
| getgrav | grav |
| getgrav | grav |
| getgrav | grav |
| getgrav | grav |
| getgrav | grav |
| getgrav | grav |
| getgrav | grav |
| getgrav | grav |
| getgrav | grav |
| getgrav | grav |
| getgrav | grav |
| getgrav | grav |
| getgrav | grav |
| getgrav | grav |
| getgrav | grav |
| getgrav | grav |
| getgrav | grav |
References
Frequently Asked Questions
What is CVE-2025-66299? +
How severe is CVE-2025-66299? +
What products are affected by CVE-2025-66299? +
How do I check if I'm vulnerable to CVE-2025-66299? +
Related Vulnerabilities
Tabby (formerly Terminus) is a highly configurable terminal emulator. Prior to 1.0.217 , Tabby enables several high-risk Electron Fuses, including …
A Local Code Injection Vulnerability exists in the product and version listed above. The vulnerability is due to incorrect default …
Actual is an open-source personal finance application. In the macOS desktop application version 25.x (built on Electron 39.2.7), the ELECTRON_RUN_AS_NODE …
calibre is an e-book manager. Prior to 9.10.0, a malicious EPUB, OPF, or PDF file can execute arbitrary Python code …
FOSSBilling is a free, open-source billing and client management system. Versions 0.6.10 through 0.7.2 have a PHP code injection vulnerability …
zx is a tool for writing better scripts. An attacker with control over environment variable values can inject unintended environment …