---
cve: "CVE-2021-29440"
severity: "HIGH"
cvss: 8.4
epss: "30.6%"
vendor: "getgrav"
kev: false
exploited: false
published: "2021-04-13 20:15:22"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-19T09:41:47+02:00"
---

# CVE-2021-29440

> 8.4 HIGH · 🧪 PoC

## Beschreibung

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-Vektor

```
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Hoch | good |
| UI Interaktion | Erforderlich | good |
| S Scope | Verändert | bad |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Hoch | bad |

## Exploit-Evidenz

- [EDB-49961 — Grav CMS 1.7.10 - Server-Side Template Injection (SSTI) (Authenticated)](https://www.exploit-db.com/exploits/49961)

## Referenzen

- <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>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2021-29440) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
