CVE-2026-137305
JSON

8.7high

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

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.67% (higher than 53% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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

Product or packageVersionsReported by
getgrav grav-plugin-formbefore 9.2.4CVE List

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-94

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-137305 changed 2026-12-01CVE Terms of Use
NVDCVE-2026-137305 changed 2026-12-01Public domain