Paper/Archive/CVE-2026-130735

CVE-2026-130735

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

Description · from the CVE record

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

ProductAffectedFixed inSource
grav2.0.0 – < 2.2.182.2.18CNA

Scores by source

VulnCheck (CNA)9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
VulnCheck (CNA)9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

advisorygithub.com/getgrav/grav/security/advisories/GHSA-jc8q-6vcj-4x25