CVE-2026-137305
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 package | Versions | Reported by |
|---|---|---|
| getgrav grav-plugin-form | before 9.2.4 | CVE List |
All scores
| VulnCheck | 8.7high CVSS:4.0 | 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 |
| VulnCheck | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-137305 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-137305 changed 2026-12-01 | Public domain |