cvedb.io
CVE-2023-34253
HIGH · CVSS 8.8
EPSS exploitation probability: 0%
Published 2023-06-14T23:15:11.037 · Last modified 2026-06-17T06:03:13.727

Summary

Grav is a flat-file content management system. Prior to version 1.7.42, the denylist introduced in commit 9d6a2d to prevent dangerous functions from being executed via injection of malicious templates was insufficient and could be easily subverted in multiple ways -- (1) using unsafe functions that are not banned, (2) using capitalised callable names, and (3) using fully-qualified names for referencing callables. Consequently, a low privileged attacker with login access to Grav Admin panel and page creation/update permissions is able to inject malicious templates to obtain remote code execution. A patch in version 1.7.42 improves the denylist.

Affected products

getgrav — grav

Does this affect you?

Add your gear to cvedb and we'll alert you only when getgrav ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.