---
cve: "CVE-2023-34251"
severity: "CRITICAL"
cvss: 10.0
epss: "2.3%"
vendor: "getgrav"
kev: false
exploited: false
published: "2023-06-14 22:15:09"
tags: [cve, security, critical]
source: tsecurity.de CVE-Dossier
exported: "2026-09-03T11:05:49+02:00"
---

# CVE-2023-34251

> 10.0 CRITICAL · 🧪 PoC

## Beschreibung

Grav is a flat-file content management system. Versions prior to 1.7.42 are vulnerable to server side template injection. Remote code execution is possible by embedding malicious PHP code on the administrator screen by a user with page editing privileges. Version 1.7.42 contains a fix for this issue.

## CVSS-Vektor

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

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

## Patch verfügbar (OSV)

- dc209453d0817547db0d3a8b27110decb63f2b5d (Commit)
- 9d01140a63c77075ef09b26ef57cf186138151a5 (Commit)

## Referenzen

- <https://github.com/getgrav/grav/security/advisories/GHSA-f9jf-4cp4-4fq5>
- <https://github.com/getgrav/grav/commit/9d01140a63c77075ef09b26ef57cf186138151a5>
- <https://github.com/getgrav/grav/blob/develop/system/src/Grav/Common/Twig/Extension/GravExtension.php#L174>

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