CVE-2021-29440: high-severity vulnerability in getgrav grav
Twig allowing dangerous PHP functions by default
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
46Vexday Risk Score
No sign of exploitation. It has a public proof of concept.
ssvc Attendcvss 8.4epss 30%
from disclosure to weapon54 days
Published on NVDApr 13
1st PoC+54d
Grav is a file based Web-platform. Twig processing of static pages can be enabled in the front matter by any administrative user allowed to create or edit pages. As the Twig processor runs unsandboxed, this behavior can be used to gain arbitrary code execution and elevate privileges on the instance. The issue was addressed in version 1.7.11.
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
Affected products
getgrav · gravpublic PoCs found — 3
exploitdbwww.exploit-db.com/exploits/49961unverifiedgithubgithub.com/CsEnox/CVE-2021-29440★ 4cve_referencepacketstormsecurity.com/files/162987/Grav-CMS-1.7.10-Server-Side-Template-Injection.htmlunverified⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
Related CVEs — getgrav grav
In the same product, most dangerous first.
CVE-2024-27921HIGHGrav File Upload Path Traversal vulnerabilityEPSS 60.8%CVE-2024-28116HIGHServer-Side Template Injection (SSTI) with Grav CMS security sandbox bypassEPSS 5.8%CVE-2026-61450HIGHGrav before 2.0.2 Config Exfiltration via offsetGet FilterEPSS 5.4%CVE-2023-34448HIGHGrav Server-side Template Injection (SSTI) via Twig Default FiltersEPSS 4.5%CVE-2026-42607CRITICALGrav: Remote Code Execution (RCE) via Malicious Plugin ZIP Upload in Direct Install FeatureEPSS 4.4%CVE-2024-34082HIGHGrav Arbitrary File Read to Account TakeoverEPSS 3.1%