Skip to content

CVE-2026-137305 Grav Form Plugin before 9.2.4 Code Injection via File Field Upload Destination

HighCVSS 8.7 EPSS 0.67%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
PHP

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
getgrav grav-plugin-form < 9.2.4 9.2.4 Fixed

Affected products

ProductAffected versionsFixed in
getgrav grav-plugin-form < 9.2.4 9.2.4

References