Improper Neutralization of Special Elements Used in a Template Engine Affecting getgrav/grav package, versions <1.8.0-beta.27


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.33% (56th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-GETGRAVGRAV-14157172
  • published2 Dec 2025
  • disclosed1 Dec 2025
  • creditp1r0x

Introduced: 1 Dec 2025

NewCVE-2025-66297  (opens in a new tab)
CWE-1336  (opens in a new tab)

How to fix?

Upgrade getgrav/grav to version 1.8.0-beta.27 or higher.

Overview

getgrav/grav is a Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS.

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements Used in a Template Engine via the Twig processing feature enabled through page frontmatter. An attacker can gain elevated privileges or execute arbitrary system commands by injecting malicious Twig expressions via the scheduler API.

References

CVSS Base Scores

version 4.0
version 3.1