GHSA-g8r4-p96j-xfxc · Severity: high · Ecosystem: composer — Grav's Twig processing allowing dangerous PHP functions by default
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.
Conclusion & alert: CVE-2021-29440 is rated High Exploit Risk (78.1/100): CVSS High severity, with high exploitation likelihood (EPSS 11.16%, 94th percentile). Core evidence: 3 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| 49961 | exploit_db | edb | 2021-06-07 | Exploit-DB ↗ |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-04-15 | 14.44% | 11.16% | -3.27% |
| 2 | 2026-01-29 | 18.42% | 14.44% | -3.99% |
| 3 | 2025-11-21 | — | 18.42% | — |
Full EPSS history (31 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.4 | 3.1 | HIGH |
|
1.7 | 6.0 | [email protected] |
| 7.2 | 3.1 | HIGH |
|
1.2 | 5.9 | [email protected] |
| 6.5 | 2.0 | MEDIUM |
|
8.0 | 6.4 | [email protected] |
GHSA-g8r4-p96j-xfxc · Severity: high · Ecosystem: composer — Grav's Twig processing allowing dangerous PHP functions by default
| URL | Tags |
|---|---|
| http://packetstormsecurity.com/files/162987/Grav-CMS-1.7.10-Server-Side-Template-Injection.html | Exploit Third Party Advisory VDB Entry |
| https://blog.sonarsource.com/grav-cms-code-execution-vulnerabilities | Exploit Third Party Advisory |
| https://github.com/getgrav/grav/security/advisories/GHSA-g8r4-p96j-xfxc | Third Party Advisory |
| https://packagist.org/packages/getgrav/grav | Product Third Party Advisory |