Twig Injection Vulnerability in Grav by Getgrav
CVE-2026-130735

9.3CRITICAL

Key Information:

Vendor

Getgrav

Status
Vendor
CVE Published:
18 November 2026

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

References

CVSS V4

Score:
9.3
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.