Skip to main content
VulnerabilityPublished

CVE-2025-66298: getgrav grav · Template Injection

Affects getgrav gravSource CVE Database V5

0

Public exploit available · CVSS 7.7 High · fixed in 1.8.0 : patch getgrav grav as a priority.

Data as of 26 Oct 2026, 10:12 UTC

CVSS 4.0 base score
7.7High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 31% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.8.0
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. Weaponised: 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 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
GitHubgetgrav/gravpkg:github/getgrav/gravOther threatsAffected
  • =1.8.0-beta.27
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should immediately upgrade all Grav installations to version 1.8.0-beta.27 or later to remediate this vulnerability. Until patching is possible, administrators should restrict access to forms that accept POST requests or implement web application firewall (WAF) rules to detect and block suspicious template injection payloads. Conduct thorough audits of Grav configuration files and plugin settings to identify and rotate any exposed credentials or secrets. Employ network segmentation to limit the exposure of Grav instances and monitor logs for unusual POST request patterns indicative of exploitation attempts. Additionally, implement strict input validation and output encoding in custom Grav templates or plugins to reduce the risk of SSTI. Regular vulnerability scanning and penetration testing focused on template injection vectors are recommended to proactively detect similar issues.

Description

Grav is a file-based Web platform. Prior to 1.8.0-beta.27, having a simple form on site can reveal the whole Grav configuration details (including plugin configuration details) by using the correct POST payload to exploit a Server-Side Template (SST) vulnerability. Sensitive information may be contained in the configuration details. This vulnerability is fixed in 1.8.0-beta.27.

References

Community reviews

Loading reviews…