CVE-2025-66297
BaseFortify
Publication date: 2025-12-01
Last updated on: 2025-12-03
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| getgrav | grav | to 1.8.0 (exc) |
| getgrav | grav | 1.8.0 |
| getgrav | grav | 1.8.0 |
| getgrav | grav | 1.8.0 |
| getgrav | grav | 1.8.0 |
| getgrav | grav | 1.8.0 |
| getgrav | grav | 1.8.0 |
| getgrav | grav | 1.8.0 |
| getgrav | grav | 1.8.0 |
| getgrav | grav | 1.8.0 |
| getgrav | grav | 1.8.0 |
| getgrav | grav | 1.8.0 |
| getgrav | grav | 1.8.0 |
| getgrav | grav | 1.8.0 |
| getgrav | grav | 1.8.0 |
| getgrav | grav | 1.8.0 |
| getgrav | grav | 1.8.0 |
| getgrav | grav | 1.8.0 |
| getgrav | grav | 1.8.0 |
| getgrav | grav | 1.8.0 |
| getgrav | grav | 1.8.0 |
| getgrav | grav | 1.8.0 |
| getgrav | grav | 1.8.0 |
| getgrav | grav | 1.8.0 |
| getgrav | grav | 1.8.0 |
| getgrav | grav | 1.8.0 |
| getgrav | grav | 1.8.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-1336 | The product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or other code directives when processed by the engine. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability exists in Grav CMS versions prior to 1.8.0-beta.27. A user who already has admin panel access and permissions to create or edit pages can enable Twig processing in the page frontmatter. By injecting malicious Twig expressions, the user can escalate their privileges to admin level or execute arbitrary system commands through the scheduler API. This leads to both Privilege Escalation and Remote Code Execution vulnerabilities.
How can this vulnerability impact me? :
If exploited, this vulnerability allows an attacker with limited admin panel access to escalate their privileges to full admin rights or execute arbitrary system commands on the server. This can lead to unauthorized control over the system, data breaches, and potentially full compromise of the affected Grav CMS installation.
What immediate steps should I take to mitigate this vulnerability?
Upgrade Grav CMS to version 1.8.0-beta.27 or later, as this version contains the fix for the vulnerability. Additionally, restrict admin panel access and permissions to only trusted users to prevent exploitation via malicious Twig expressions.