← VULNERABILITIES

CVE-2026-137305

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

High · 8.7Fix available
CVSS
8.7
EPSS
0.67% (p47)
Published
2026-11-26
Age
3d old
Modified
2026-11-26
Product
getgrav grav-plugin-form
Aliases
GHSA-4grx-p93p-25w8

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

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.

Fixed in

9.2.4

Affected packages

EcosystemPackageRangeFixed
vendorgrav-plugin-form>=0, <9.2.49.2.4

Sources

  • NVD · first seen 3d ago · NVD terms of use
  • OSV · first seen 3d ago · CC-BY 4.0
  • CVE List · first seen 3d ago · CVE Terms of Use

References

JSON