{"id":"CVE-2026-137305","aliases":["GHSA-4grx-p93p-25w8"],"title":"Grav Form Plugin before 9.2.4 Code Injection via File Field Upload Destination","originalDescription":"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.","severity":{"cvss":8.7,"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","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.00667,"percentile":0.4692},"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"grav-plugin-form","range":">=0, <9.2.4","fixed":"9.2.4"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-4grx-p93p-25w8","type":"vendor-advisory"},{"url":"https://github.com/getgrav/grav-plugin-form/commit/3daa9cb66c43b6d472473dcbf0c312c8e66b1769","type":"patch"},{"url":"https://www.vulncheck.com/advisories/grav-form-plugin-before-9.2.4-code-injection-via-file-field-upload-destination","type":"third-party-advisory"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137305.json","type":"advisory"},{"url":"https://github.com/getgrav/grav-plugin-form","type":"package"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137305","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-26T02:29:34.193Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137305","license":"NVD terms of use","firstSeenAt":"2026-11-26T02:29:34.193Z"},{"name":"osv","at":"2026-11-26T21:45:22.263Z","url":"https://osv.dev/vulnerability/CVE-2026-137305","license":"CC-BY 4.0","firstSeenAt":"2026-11-26T03:36:03.344Z"},{"name":"cvelistV5","at":"2026-11-28T21:34:45.260Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-137305","license":"CVE Terms of Use","firstSeenAt":"2026-11-26T01:54:00.638Z"}],"firstSeenAt":"2026-11-26T01:54:00.638Z","publishedAt":"2026-11-26T01:37:17.193Z","modifiedAt":"2026-11-26T21:02:18.876Z"}