Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/getgrav/grav-plugin-form/commit/3daa9cb66c43b6d472473dcbf0c31
- https://github.com/getgrav/grav/security/advisories/GHSA-4grx-p93p-25w8
- https://www.vulncheck.com/advisories/grav-form-plugin-before-9.2.4-code-injectio
FAQ
What is CVE-2026-137305?
CVE-2026-137305 is a vulnerability with a CVSS score of 8.8 (HIGH). 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::uploa...
How severe is CVE-2026-137305?
CVE-2026-137305 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-137305?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.