9.8Critical

CVE-2026-130735Grav 2.0.0 before 2.2.18 Twig Injection via Media Metadata and File Names

getgrav grav Published: (10 hours ago)

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.

Weakness (CWE): CWE-79

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
getgrav grav 2.0.0 – < 2.2.18, fixed 2.2.18

References and patches