Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Grav versions before 1.7.42 are vulnerable to server-side template injection in the admin panel, which can lead to remote code execution. An attacker needs an account with page editing privileges, and can then run operating system commands on the server. Upgrade Grav to version 1.7.42 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 10.0 | Critical | 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.023, the 83rd percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:31 UTC First seen by agentprime
- 31 Oct 2026, 14:31 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-f9jf-4cp4-4fq5
- OSV: GHSA-f9jf-4cp4-4fq5
- github.com/getgrav/grav/security/advisories/GHSA-f9jf-4cp4-4fq5
- nvd.nist.gov/vuln/detail/CVE-2023-34251
- github.com/getgrav/grav/commit/244758d4383034fe4cd292d41e477177870b65ec
- github.com/getgrav/grav/commit/71bbed12f950de8335006d7f91112263d8504f1b
- github.com/getgrav/grav/commit/8c2c1cb72611a399f13423fc6d0e1d998c03e5c8
- github.com/getgrav/grav/commit/9d01140a63c77075ef09b26ef57cf186138151a5
- github.com/getgrav/grav
- github.com/getgrav/grav/blob/develop/system/src/Grav/Common/Twig/Extension/GravExtension.php#L174