{"id":"CVE-2026-137305","aliases":["CVE-2026-137305"],"related":[],"kind":"vulnerability","state":"published","title":"Grav Form Plugin before 9.2.4 Code Injection via File Field Upload Destination","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-26T01:37:17.193Z","modified":"2026-12-01T05:18:38.703Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"9.2.4","status":"affected"}],"vendor":"getgrav","product":"grav-plugin-form","repo":"https://github.com/getgrav/grav-plugin-form","source":"cvelist"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-4grx-p93p-25w8","tags":["third-party-advisory","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/getgrav/grav-plugin-form/commit/3daa9cb66c43b6d472473dcbf0c312c8e66b1769","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/grav-form-plugin-before-9.2.4-code-injection-via-file-field-upload-destination","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["EZO Labs Security"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-12-01T04:21:00.643Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-137305","url":"https://www.cve.org/CVERecord?id=CVE-2026-137305","licence":"CVE Terms of Use","modified":"2026-12-01T04:21:10.728Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-137305","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137305","licence":"Public domain","modified":"2026-12-01T05:18:38.703Z"}],"updatedAt":"2026-12-01T05:32:13.650Z","epss":{"score":0.00667,"percentile":0.53149,"date":"2026-12-01T12:00:22.000Z"}}