Skip to content
Threat Brief

← All advisories

CVE-2026-130735

Critical 9.3No known exploitationFix available

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

Record last updated

CVSS score

9.3

Critical on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.3%

Higher than 25% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

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.

Weakness: CWE-79

Patching and mitigation

Patch status
Fix available (source: CVE record (VulnCheck))
Fix documented (source date)
Mitigation
None documented
Vendor guidance
github.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
getgravgravfrom 2.0.0 before 2.2.182.2.18CVE Program
getgravgrav (unaffected)2.2.18Not documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by VulnCheck

    Source: CVE Program (opens in a new tab)

  2. Patch

    Fix documented by CVE record (VulnCheck)

    Source: CVE record (VulnCheck) (opens in a new tab)

Vendor guidance and references