Twig Injection Vulnerability in Grav by Getgrav
CVE-2026-130735
9.3CRITICAL
What is CVE-2026-130735?
Grav versions prior to 2.2.18 are susceptible to a Twig injection vulnerability. This issue allows users with media-only accounts and anonymous uploaders to leverage Twig injection through specially crafted image titles, alt text, or file names. By embedding Twig delimiters, attackers can control the output and potentially serve malicious scripts to all visitors of the affected pages, including super admin users. This vulnerability poses a serious risk of exposing sensitive content or executing arbitrary code, which can compromise the integrity of the application.
Affected Version(s)
grav 2.0.0 < 2.2.18
grav 2.2.18
