CVE-2026-130735
Grav 2.0.0 before 2.2.18 Twig Injection via Media Metadata and File Names
- Severity
- critical CVSS 9.3 (v4.0)
- Affects
- grav · getgrav
- Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- Published
- 18 November 2026 by VulnCheck
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.