Skip to main content
VulnerabilityPublished

CVE-2025-66298: getgrav/grav · Grav is vulnerable to Server-Side Template Injection (SSTI) via Forms

Affects getgrav/gravSource GCVE Database

0
Compare
Authoritative record:CVE-2025-66298· High 7.7

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

CVSS 4.0 base score
7.7High
How severe the flaw is on the 0–10 CVSS scale.
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:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Packagistgetgrav/gravAffected
  • <1.8.0-beta.27
Fixed in
  • 1.8.0-beta.27

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.

References

Community reviews

Loading reviews…