{"answers":{"affected":"1 open source package ship an affected version, including getgrav/grav-plugin-form.","exploited":"There is no known exploitation of CVE-2026-137305 in the wild and no public exploit code.","exposure":"","fix":"Upgrade getgrav/grav-plugin-form to 9.2.4 or later.","what":"CVE-2026-137305 is a high-severity vulnerability in getgrav grav-plugin-form, published on 26 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-137305 and fix it if it is affected.\n\nWhat it is: CVE-2026-137305 is a high-severity vulnerability in getgrav grav-plugin-form, published on 26 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-137305 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- getgrav/grav-plugin-form (Packagist): affected all versions; fixed in 9.2.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-137305/ (Markdown: https://insights.sbomify.com/CVE-2026-137305/index.md)","id":"CVE-2026-137305","markdown":"https://insights.sbomify.com/CVE-2026-137305/index.md","name":"CVE-2026-137305","record":{"aliases":["GHSA-4grx-p93p-25w8","GHSA-fjr8-4mf4-7wvw"],"analysis":null,"analysis_generated_by":null,"assigner":"VulnCheck","component":null,"cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"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.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":"2026-11-26","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-11-26T05:33:10Z","kind":"github_poc","ref":"https://github.com/googlesky/CVE-2026-137305","stars":0,"title":"Grav Form before 9.2.4: file upload destination could point into Twig template folders — uploaded Twig rendered as trusted code. Verbatim guard from 3daa9cb: accepted on vuln, refused on fixed"}],"tier":"poc_unverified"},"has_fix":false,"headline":"Grav Form Plugin before 9.2.4 Code Injection via File Field Upload Destination","id":"CVE-2026-137305","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":null,"year":"2026"},"main_cpe":null,"main_fixed":["9.2.4"],"main_package":"getgrav/grav-plugin-form","n_packages":1,"n_references":3,"n_vendor_status":0,"next":{"headline":"Grav Admin Plugin before 1.10.65 Password Reset Poisoning via Host Header","id":"CVE-2026-137306"},"nickname":null,"packages":[{"ecosystem":"Packagist","fixed":["9.2.4"],"introduced":["0"],"last_affected":[],"name_kind":null,"package":"getgrav/grav-plugin-form","purl":"pkg:composer/getgrav/grav-plugin-form","purl_source":"cna","scope":"upstream","source":"CVE-2026-137305"}],"prev":{"headline":"The JetFormBuilder — Dynamic Blocks Form Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the '\u003cform-field-name","id":"CVE-2026-137284"},"products":["grav-plugin-form"],"published":"2026-11-26","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-26","vendor_status":[],"vendors":["getgrav"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-137305/"}