CVE-2021-29440
High · 7.2CVSS
7.2
EPSS
29.9%
Published
Apr 13, 2021
CISA due date
—
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Packagist | getgrav/grav | 0 | 1.7.11 |
Related vulnerabilities
- GHSA-729w-j79f-2c34 Grav may be vulnerable to SSRF attack via Twig Templates Also affects getgrav/grav
- GHSA-mh85-44c2-3m97 Grav is vulnerable to Stored XSS through authenticated user-edited content Also affects getgrav/grav
- CVE-2025-66844 Grav may be vulnerable to SSRF attack via Twig Templates Also affects getgrav/grav
- CVE-2025-66843 Grav is vulnerable to Stored XSS through authenticated user-edited content Also affects getgrav/grav
- GHSA-cchq-397m-q2qm Grav CMS is vulnerable to Cross Site Scripting (XSS) in the page editor Also affects getgrav/grav
- CVE-2025-65186 Grav CMS 1.7.49 is vulnerable to Cross Site Scripting (XSS). Also affects getgrav/grav
- GHSA-8535-hvm8-2hmv Grav is vulnerable to Server-Side Template Injection (SSTI) via Forms Also affects getgrav/grav
- GHSA-662m-56v4-3r8f Grav is vulnerable to RCE via SSTI through Twig Sandbox Bypass Also affects getgrav/grav