CVE-2021-29440
High
Description
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.
SeverityHigh
CVSS8.4
Exploit probability—
Product
Grav
PublishedApr 13, 2021
First seenApr 13, 2021
Weakness typeCWE-94Code injection
How to fix
Update
- getgrav grav1.7.11 or later
- getgrav/grav1.7.11 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| getgrav grav | v < 1.7.11 | 1.7.11 |
| getgrav/gravPackagist | v < 1.7.11 | 1.7.11 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.