Advisory record · GHSA-cxgw-r5jg-7xwq

Code injection in grav

CVSS 9.1 CriticalCriticalEPSS 0.11 · 95th percentile

Critical, because:

  • CVSS score 9.1: 9.0 or more.
  • CVSS score 9.1 (7.0 or more) and EPSS 0.11 (0.1 or more): a high score and a real chance of exploitation in the next 30 days.

How we decide what’s critical

Published by the GitHub Advisory Database at 30 Jun 2022, 00:00 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
getgrav/gravPackagist<1.7.341.7.34
Identifiers
GHSA-cxgw-r5jg-7xwq · CVE-2022-2073 · PKSA-h22v-p71y-45m3
Weakness (CWE)
CWE-94
Published
30 Jun 2022
Updated
8 Nov 2023

Machine-written summary

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

Grav versions before 1.7.34 are vulnerable to server-side template injection through Twig. The source says Twig should not render dangerous functions such as system by default, but the description gives few details about how the flaw is reached or what an attacker can do with it. Upgrade getgrav/grav to version 1.7.34 or later.

Written 5 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
9.1 Critical 3.0 CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H CNA (@huntrdev)
  • CISA KEV Not listed.
  • EPSS 0.11, the 95th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

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