Advisory record · GHSA-qfv4-q44r-g7rv

Server Side Template Injection (SSTI)

CVSS 8.8 HighEPSS 0.014 · 72nd percentile

Published by the GitHub Advisory Database at 22 Mar 2024, 16:35 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
getgrav/gravPackagist<1.7.451.7.45
Identifiers
GHSA-qfv4-q44r-g7rv · CVE-2024-28117 · PKSA-md79-czmr-hzqq
Weakness (CWE)
CWE-94
Published
22 Mar 2024
Updated
10 Sept 2026

Machine-written summary

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

Grav (getgrav/grav, Packagist) versions before 1.7.45 are affected by a server-side template injection flaw. Grav's check for dangerous functions does not restrict certain Twig functions such as twig_array_map, which lets a template call arbitrary functions. An attacker who is an administrator allowed to create or edit pages could enable Twig processing in a page's front matter and run arbitrary code on the server, since Twig runs unsandboxed. Upgrade to version 1.7.45 or later.

Written 31 Oct 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.014, the 72nd percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:03 UTC First seen by agentprime
  2. 31 Oct 2026, 14:03 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.