CVE-2021-29440 EXPLOIT
8.4
HIGH · CVSS 3.1 · EPSS 30.6% (pctl 98)
Patch early
A public exploit exists.
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.
Scoring
| CVSS | 8.4 (HIGH, v3.1) |
|---|---|
| Vector | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H |
| EPSS | 30.62% — more likely to be exploited than 98% of all CVEs |
| Weakness | CWE-94 |
| On CISA KEV | no |
| Public exploit | yes |
| Published | 2021-04-13 |
| Last modified | 2026-06-17 |
Affected (1)
| Vendor | Product |
|---|---|
| getgrav | grav |
Public exploits
| Source | Title | Date |
|---|---|---|
| exploit-db | Grav CMS 1.7.10 - Server-Side Template Injection (SSTI) (Authenticated) | 2021-06-07 |
References
- http://packetstormsecurity.com/files/162987/Grav-CMS-1.7.10-Server-Side-Template-Injection.html
- https://blog.sonarsource.com/grav-cms-code-execution-vulnerabilities
- https://github.com/getgrav/grav/security/advisories/GHSA-g8r4-p96j-xfxc
- https://packagist.org/packages/getgrav/grav
- http://packetstormsecurity.com/files/162987/Grav-CMS-1.7.10-Server-Side-Template-Injection.html
- https://blog.sonarsource.com/grav-cms-code-execution-vulnerabilities
- https://github.com/getgrav/grav/security/advisories/GHSA-g8r4-p96j-xfxc
- https://packagist.org/packages/getgrav/grav
→ the Explorer · watch your stack · NVD