Skip to content
Critical 9.8

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

CVE-2026-130735 First seen on SecPulse

Affected packages

PackageAffected → Fixed
getgravgrav
≥ 2.0.0, < 2.2.18→ 2.2.18
Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details