CVE-2025-66297
HIGHDescription
Grav is a file-based Web platform. Prior to 1.8.0-beta.27, a user with admin panel access and permissions to create or edit pages in Grav CMS can enable Twig processing in the page frontmatter. By injecting malicious Twig expressions, the user can escalate their privileges to admin or execute arbitrary system commands via the scheduler API. This results in both Privilege Escalation (PE) and Remote Code Execution (RCE) vulnerabilities. This vulnerability is fixed in 1.8.0-beta.27.
Is your site exposed to CVE-2025-66297?
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-66297? +
How severe is CVE-2025-66297? +
What products are affected by CVE-2025-66297? +
How do I check if I'm vulnerable to CVE-2025-66297? +
Related Vulnerabilities
Server-Side Template Injection (SSTI) in Wirtualna Uczelnia allows an unauthenticated attacker to perform Remote Code Execution (RCE). In the endpoint …
SEPPmail Secure Email Gateway before version 15.0.4 contains a server-side template injection vulnerability in the new GINA UI because an …
An issue was discovered in Logpoint AgentX before 1.5.0. A vulnerability caused by limited access controls allowed li-admin users to …
Report generation functionality in Wyn Enterprise allows for code inclusion, but not sufficiently limits what code might be included. An …
A template injection vulnerability exists in Sawtooth Software’s Lighthouse Studio versions prior to 9.16.14 via the ciwweb.pl http://ciwweb.pl/ Perl web …
LangChain is a framework for building agents and LLM-powered applications. From versions 0.3.79 and prior and 1.0.0 to 1.0.6, a …