All vulnerabilities

Packagist

CVE-2026-137305

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

Severity
High 8.7
Published
26 Nov 2026
Last changed
26 Nov 2026
Added to UpHeron
26 Nov 2026
Fixed in
9.2.4
Exploit chance
0.7% in the next 30 daysHigher than 46% of CVEs. EPSS by FIRST, 29 Nov 2026
Weakness
Code injection (CWE-94)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
getgrav/grav-plugin-formPackagist · osv:Packagist:getgrav/grav-plugin-form
  • Every version before 9.2.4

About getgrav/grav-plugin-form

This is the only vulnerability in getgrav/grav-plugin-form in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-137305