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
FoF Pretty Mail 1.1.2 contains a server-side template injection vulnerability that allows administrative users to inject malicious code into email …
Jupyter Enterprise Gateway launches remote Jupyter Notebook kernels across distributed clusters like Apache Spark, Kubernetes, and Docker Swarm. In versions …
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 …
Akaunting 3.1.8 contains a server-side template injection vulnerability that allows authenticated administrators to execute template expressions in multiple form input …
SEPPmail Secure Email Gateway before version 15.0.4 contains a server-side template injection vulnerability in the new GINA UI because an …
Server-Side Template Injection (SSTI) in Wirtualna Uczelnia allows an unauthenticated attacker to perform Remote Code Execution (RCE). In the endpoint …