Description
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.
Metrics
CVSS 3.1 7.2/10
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| getgrav | grav | < 1.7.42 |
References
- https://github.com/getgrav/grav/blob/develop/system/src/Grav/Common/Twig/Extension/GravExtension.php#L174Vendor Advisory
- https://github.com/getgrav/grav/commit/9d01140a63c77075ef09b26ef57cf186138151a5Patch
- https://github.com/getgrav/grav/security/advisories/GHSA-f9jf-4cp4-4fq5Exploit, Vendor Advisory
- https://github.com/getgrav/grav/blob/develop/system/src/Grav/Common/Twig/Extension/GravExtension.php#L174Vendor Advisory
- https://github.com/getgrav/grav/commit/9d01140a63c77075ef09b26ef57cf186138151a5Patch
- https://github.com/getgrav/grav/security/advisories/GHSA-f9jf-4cp4-4fq5Exploit, Vendor Advisory
Timeline
- Published
- Jun 14, 2023
- Last modified
- Jun 17, 2026
- NVD status
- Modified