CVE-2025-66297
Last modified
CVE-2025-66297 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 0.66% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Getgrav | Grav | < 1.8.0 | — |
| Getgrav | Grav | 1.8.0 | Beta1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-66297?
How severe is CVE-2025-66297?
How do I fix CVE-2025-66297?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-66291OrangeHRM is a comprehensive human resource management (HRM)…4.3
- CVE-2025-66292DPanel is an open source server management panel written in …8.1
- CVE-2025-66293LIBPNG is a reference library for use in applications that r…7.1
- CVE-2025-66294Grav is a file-based Web platform. Prior to 1.8.0-beta.27, a…8.8
- CVE-2025-66295Grav is a file-based Web platform. Prior to 1.8.0-beta.27, w…8.8
- CVE-2025-66296Grav is a file-based Web platform. Prior to 1.8.0-beta.27, a…8.8
- CVE-2025-66298Grav is a file-based Web platform. Prior to 1.8.0-beta.27, h…7.5
- CVE-2025-66299Grav is a file-based Web platform. Prior to 1.8.0-beta.27, G…8.8
- CVE-2025-66300Grav is a file-based Web platform. Prior to 1.8.0-beta.27, A…8.5
- CVE-2025-66301Grav is a file-based Web platform. Prior to 1.8.0-beta.27, d…9.6
- CVE-2025-66302Grav is a file-based Web platform. Prior to 1.8.0-beta.27, A…6.8
- CVE-2025-66303Grav is a file-based Web platform. Prior to 1.8.0-beta.27, A…4.9
Are you affected by CVE-2025-66297?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
