CVE-2026-130735
JSON

9.3critical

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

Severity
9.3critical CVSS:4.0 by VulnCheck
Exploit likelihood
0.31% (higher than 26% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
getgrav gravfrom 2.0.0 before 2.2.18
Not affected: 2.2.18
CVE List

All scores

VulnCheck9.3critical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-130735 changed 2026-11-18CVE Terms of Use
NVDCVE-2026-130735 changed 2026-11-18Public domain