Advisory record · GHSA-96xv-rmwj-6p9w

Grav Server-side Template Injection (SSTI) via Twig Default Filters

CVSS 8.8 HighEPSS 0.021 · 81st percentile

Published by the GitHub Advisory Database at 16 Jun 2023, 19:36 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
getgrav/gravPackagist<1.7.421.7.42
Identifiers
GHSA-96xv-rmwj-6p9w · CVE-2023-34252 · PKSA-czz7-ybjd-h94w
Weakness (CWE)
CWE-94 · CWE-184 · CWE-1336
Published
16 Jun 2023
Updated
16 Feb 2024

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Grav (getgrav/grav) versions before 1.7.42 are vulnerable to server-side template injection through Twig's filter function, which can lead to remote code execution. An attacker needs an administrator account, or a user account with Admin panel login and page creation or update permissions, to create or edit a page with a crafted Twig template. Upgrade to Grav 1.7.42 or later. Setting the Twig undefined_functions and undefined_filters options to false in system.yaml is a further mitigation.

Written 4 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.8 High 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.021, the 81st percentile, on 8 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:31 UTC First seen by agentprime
  2. 31 Oct 2026, 14:31 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.