CVE-2026-130735getgrav grav
Unauthenticated Twig Injection in Grav
Critical 9.3 No auth needed
- Priority
- 76
- CVSS 4.0
- 9.3
- EPSS
- —
- Auth required
- No
- Published
- Nov 18, 2026
- Updated
- Nov 18, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
Grav versions 2.0.0 through 2.2.17 contains a Twig injection vulnerability allowing media-only accounts and anonymous uploaders to execute Twig code by placing delimiters in image titles, alt text, class, id, or file names. Attackers can combine injected Twig with autoescape tags to serve scripts to all page visitors, including super admins, or expose unpublished page content.
AI-generated summary (Claude) based on NVD and CISA data. Not reviewed yet: check the details in the vendor advisory.
Show the original NVD text
Grav from 2.0.0 before 2.2.18 contains a Twig injection vulnerability that allows media-only accounts and anonymous uploaders to execute Twig by placing delimiters in image titles, alt text, class, id, or file names. Attackers can combine injected Twig with the autoescape tag to serve script to every page visitor, including super admins, or expose unpublished page content.
What to do
Patch available · fixed versions: 2.2.18
Update Grav to version 2.2.18 or later to apply the security patch.
Vendor advisory · github.com ↗
AI-generated from public data; not reviewed.
- Apply the vendor's security update for grav.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- getgrav · grav
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.