CVE-2026-130735

published 18 Nov 2026 · updated 18 Nov 2026

Grav 2.0.0 before 2.2.18 Twig Injection via Media Metadata and File Names

9.8CriticalCVSS 9.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 2.2.18.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
getgrav>=2.0.0 <2.2.182.2.18

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-130735 severity on Zeptric[![CVE-2026-130735](https://zeptric.io/badge/cve/CVE-2026-130735.svg)](https://zeptric.io/cve/CVE-2026-130735)