getgrav · grav · CWE-79 · published 2026-11-18
CVE-2026-130735Grav 2.0.0 before 2.2.18 Twig Injection via Media Metadata and File Names
Routine No exploitation evidence; EPSS 0.3%.
CVE-2026-130735 is not known to be exploited in the wild. EPSS estimates a 0.3% chance of exploitation in the next 30 days, higher than 24% of all CVEs. This grav vulnerability: CVSS 9.3 (v4.0), attacks can be automated, a successful attack gives total control of the component. Routine: patch when convenient.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
No fixed version is recorded here yet. Check the vendor advisory linked from the CVE record below.
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | No | CISA KEV |
| Ransomware use | — | CISA KEV |
| EPSS (30-day exploitation probability) | 0.3% (25th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 9.3 (v4.0)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | CNA / CISA ADP |
| SSVC exploitation | none | CISA Vulnrichment |
| SSVC automatable | Yes | CISA Vulnrichment |
| SSVC technical impact | total | CISA Vulnrichment |
Weakness: CWE-79: Improper Neutralization of Input During Web Page Generation
Affected versions (from the CVE record)#
- getgrav grav
2.0.0to before2.2.18(affected)2.2.18(unaffected)
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.
Quoted from the CVE Program record.