Grav from 2.0.0 before 2.2.18 contains a Twig injection vulnerability that allows media-only accounts and anonymous
Source GCVE Database
Not known to be exploited · CVSS 9.3 Critical : upgrade to 2.2.18 as a priority.
Data as of 18 Nov 2026, 14:03 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 9.3 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 9.8 |
- Patch
- Available – fixed in 2.2.18
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 18 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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), the Metasploit, Exploit-DB and nuclei-templates index as of 17 Nov 2026.
What to do
Upgrade grav to 2.2.18.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| getgravgrav | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fixed version is available starting from Grav 2.2.18. Users should upgrade to version 2.2.18 or later to remediate this vulnerability. No other mitigation or workaround is indicated in the provided data.
Description
Grav CMS versions from 2.0.0 up to but not including 2.2.18 contain a critical Twig injection vulnerability. This flaw allows media-only accounts and anonymous uploaders to execute arbitrary Twig code by embedding Twig delimiters in image metadata fields such as titles, alt text, class, id, or file names. Exploitation can lead to script execution on pages viewed by any visitor, including super administrators, or unauthorized exposure of unpublished content.