CVE-2026-130735 Grav 2.0.0 before 2.2.18 Twig Injection via Media Metadata and File Names
CriticalCVSS 9.3
EPSS 0.31%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
Description
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| getgrav/grav | >= 2.0.0, < 2.2.18 | 2.2.18 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| getgrav/grav | >= 2.0.0, < 2.2.18 | 2.2.18 |
References
- GitHub Security Advisory (GHSA-jc8q-6vcj-4x25) vendor-advisory
- ENISA EUVD EUVD-2026-128807 third-party-advisory