---
id: CVE-2025-66301
title: Grav is a file-based Web platform
summary: >-
  Grav is a file-based Web platform. Prior to 1.8.0-beta.27, due to improper
  authorization checks when modifying critical fields on a POST request to
  /admin/pages/{page_name}, an editor with only permissions to change basic
  content on the …
severity: critical
cvss: 9.6
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N'
cwe:
  - CWE-285
vendor: getgrav
product: grav
affected:
  - grav < 1.8.0
  - grav = 1.8.0
patched:
  - grav 1.8.0
published: '2025-12-01'
updated: '2026-09-26'
sourceUpdated: '2026-09-26T00:10:00.127'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-66301'
references:
  - url: 'https://github.com/getgrav/grav/security/advisories/GHSA-v8x2-fjv7-8hjh'
    label: security-advisories@github.com
  - url: 'https://github.com/getgrav/grav/security/advisories/GHSA-v8x2-fjv7-8hjh'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - exploit-available
epss: 0.01337
epssPercentile: 0.70054
exploits:
  metasploit:
    - exploit/multi/http/grav_twig_ssti_sandbox_bypass_rce
  checkedAt: '2026-09-26T00:23:14.517Z'
exploitAvailable: true
ingestedAt: '2026-09-26T00:22:39.988Z'
---

## Overview

Grav is a file-based Web platform. Prior to 1.8.0-beta.27, due to improper authorization checks when modifying critical fields on a POST request to /admin/pages/{page_name}, an editor with only permissions to change basic content on the form is now able to change the functioning of the form through modifying the content of the data[_json][header][form] which is the YAML frontmatter which includes the process section which dictates what happens after a user submits the form which include some important actions that could lead to further vulnerabilities. This vulnerability is fixed in 1.8.0-beta.27.

## Affected

- `grav < 1.8.0`
- `grav = 1.8.0`

## Remediation

Upgrade past the affected range:

- `grav 1.8.0`
