All vulnerabilities

Servers and applications

CVE-2024-28117

Grav is an open-source, flat-file content management system. Prior to version 1.7.45, Grav validates accessible functions through the Utils::isDangerousFunction function, but does not impose restrictions on twig functions like twig_array_map, allowing attackers to bypass the validation and execute arbitrary commands. Twig processing of static pages can be enabled in the front matter by any…

Severity
High 8.8
Published
21 Mar 2024
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
1.7.45
Sources
NVD

Affected software

SoftwareAffected versions
GravServers and applications · cpe:a:getgrav:grav
  • Every version before 1.7.45

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2024-28117
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2024-28117