CVE-2026-137305

Grav Form Plugin before 9.2.4 Code Injection via File Field Upload Destination

High published · updated

8.7
CVSS score out of 10 · NVD (vulncheck.com)

Description

Grav Form plugin before 9.2.4 contains a code injection vulnerability that allows page authors to write uploads into Twig template folders by setting an unchecked file field destination in Form::uploadFiles(). Attackers can upload .txt or .svg files containing Twig and have them rendered as trusted templates outside the sandbox, executing code as the web server user.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
grav-plugin-form getgrav 0 → <9.2.49.2.4 CVE.org

References