CVE-2025-66297
Severity CVSS v4.0:
HIGH
Type:
Unavailable / Other
Publication date:
01/12/2025
Last modified:
03/12/2025
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.
Impact
Base Score 4.0
7.40
Severity 4.0
HIGH
Base Score 3.x
8.80
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:* | 1.8.0 (excluding) | |
| cpe:2.3:a:getgrav:grav:1.8.0:beta1:*:*:*:*:*:* | ||
| cpe:2.3:a:getgrav:grav:1.8.0:beta10:*:*:*:*:*:* | ||
| cpe:2.3:a:getgrav:grav:1.8.0:beta11:*:*:*:*:*:* | ||
| cpe:2.3:a:getgrav:grav:1.8.0:beta12:*:*:*:*:*:* | ||
| cpe:2.3:a:getgrav:grav:1.8.0:beta13:*:*:*:*:*:* | ||
| cpe:2.3:a:getgrav:grav:1.8.0:beta14:*:*:*:*:*:* | ||
| cpe:2.3:a:getgrav:grav:1.8.0:beta15:*:*:*:*:*:* | ||
| cpe:2.3:a:getgrav:grav:1.8.0:beta16:*:*:*:*:*:* | ||
| cpe:2.3:a:getgrav:grav:1.8.0:beta17:*:*:*:*:*:* | ||
| cpe:2.3:a:getgrav:grav:1.8.0:beta18:*:*:*:*:*:* | ||
| cpe:2.3:a:getgrav:grav:1.8.0:beta19:*:*:*:*:*:* | ||
| cpe:2.3:a:getgrav:grav:1.8.0:beta2:*:*:*:*:*:* | ||
| cpe:2.3:a:getgrav:grav:1.8.0:beta20:*:*:*:*:*:* | ||
| cpe:2.3:a:getgrav:grav:1.8.0:beta21:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



