# CVE-2026-130735: Grav 2.0.0 before 2.2.18 Twig Injection via Media Metadata and File Names

- Severity: Critical 9.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 26% of CVEs (2026-12-01)
- Published: 2026-11-18T11:34:01.691Z
- Modified: 2026-11-18T18:19:12.507Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- 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.

(As written by CVE List.)

## Affected

- getgrav grav: from 2.0.0 before 2.2.18 (not affected: 2.2.18)

## Every score

- VulnCheck: CVSS:4.0 9.3 Critical `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`
- VulnCheck: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/getgrav/grav/security/advisories/GHSA-jc8q-6vcj-4x25> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-130735](https://www.cve.org/CVERecord?id=CVE-2026-130735), CVE Terms of Use, modified 2026-11-18
- NVD: [CVE-2026-130735](https://nvd.nist.gov/vuln/detail/CVE-2026-130735), Public domain, modified 2026-11-18

---

Page: https://cve.day/CVE-2026-130735 · Whole record: https://cve.day/CVE-2026-130735.json · Rebuilt by cve.day 2026-11-25T22:59:51.809Z
