CVE-2025-66298: getgrav/grav · Grav is vulnerable to Server-Side Template Injection (SSTI) via Forms
Affects getgrav/gravSource GCVE Database
Public exploit available · CVSS 7.7 High : upgrade to 1.8.0-beta.27 as a priority.
Data as of 21 Nov 2026, 03:48 UTC
- Patch
- Available – fixed in 1.8.0-beta.27
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 1 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 20 Nov 2026.
What to do
Upgrade getgrav/grav to 1.8.0-beta.27.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Packagistgetgrav/grav | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and the vulnerability is fixed in Grav version 1.8.0-beta.27. Users should upgrade to this version or later to remediate the issue. No other mitigation or temporary workaround is indicated.
Description
Grav CMS versions prior to 1.8.0-beta.27 with the Forms plugin (v7.4.2) are vulnerable to a Server-Side Template Injection (SSTI) via crafted POST requests to forms. This vulnerability allows an attacker to execute template code that reveals the entire Grav configuration, including sensitive plugin details. The issue is fixed in version 1.8.0-beta.27.