Getgrav grav-plugin-form
Grav Form Plugin before 9.2.4 Code Injection via File Field Upload Destination
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- < 9.2.4
Fixed in 9.2.4
Mitigation
Upgrade grav-plugin-form to 9.2.4 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 4 h after publication; not in CISA KEV. First PoC: googlesky/CVE-2026-137305 (created 26 Nov 2026, found by us: 26 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| googlesky/CVE-2026-137305 | 26 Nov 2026 +4 h | 26 Nov 2026 | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.