{"id":"CVE-2026-137305","aliases":[],"url":"https://o3.security/vulnerability/CVE-2026-137305","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…","details":"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.","published":"2026-11-26T02:17:02.350","modified":"2026-11-26T02:17:02.350","cvss":{"score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[],"fix":{"url":"https://github.com/getgrav/grav-plugin-form/commit/3daa9cb66c43b6d472473dcbf0c312c8e66b1769","label":"getgrav/grav-plugin-form@3daa9cb"},"references":[{"type":"WEB","url":"https://github.com/getgrav/grav-plugin-form/commit/3daa9cb66c43b6d472473dcbf0c312c8e66b1769"},{"type":"WEB","url":"https://github.com/getgrav/grav/security/advisories/GHSA-4grx-p93p-25w8"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/grav-form-plugin-before-9.2.4-code-injection-via-file-field-upload-destination"}],"provenance":{"sources":["OSV.dev","NVD","FIRST.org (EPSS)"],"lastVerified":"2026-11-26T02:17:02.350"}}