{"answers":{"affected":"2 open source packages ship an affected version, including solspace/craft-freeform.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-73858 exists.","fix":"Upgrade solspace/craft-freeform to 5.10.14 or later.","what":"CVE-2026-73858 is a medium-severity code injection vulnerability in solspace craft-freeform, published on 23 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-73858 and fix it if it is affected.\n\nWhat it is: CVE-2026-73858 is a medium-severity code injection vulnerability in solspace craft-freeform, published on 23 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-73858 exists.\n\nAffected packages and fixed versions:\n- solspace/craft-freeform (Packagist): affected from 5.0.0; fixed in 5.10.14\n- solspace/craft-freeform (Packagist): affected from 5.0.0; fixed in 5.10.14\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-73858/ (Markdown: https://insights.sbomify.com/CVE-2026-73858/index.md)","id":"CVE-2026-73858","markdown":"https://insights.sbomify.com/CVE-2026-73858/index.md","name":"CVE-2026-73858","record":{"aliases":["GHSA-gxrg-x694-283w"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Craft CMS plugin","requires_auth":"none","summary":"Unauthenticated attackers can inject Twig expressions into form fields to disclose server and environment information via the isolated renderer.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"description":"Solspace Freeform plugin for Craft CMS 5.x is a super flexible form-building tool. From 5.0.0 through 5.10.13, submitted values from public Freeform forms can be evaluated by the isolated Twig renderer when rendered into HTML attributes. An unauthenticated attacker can place Twig expressions in submitted field values, including value attributes, and receive evaluated PHP, operating-system, or Craft filesystem-path constants in the form response. The isolated context was not shown to expose Craft globals, environment variables, credentials, arbitrary files, or code execution, so the confirmed impact is limited server and environment information disclosure and possible rendering errors. This issue is fixed in version 5.10.14.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Solspace Freeform: Limited Twig template injection via submitted field values","id":"CVE-2026-73858","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":2,"n_references":4,"next":{"headline":"NanoMQ: Heap-Buffer-Overflow in `nmq_subinfo_decode()` During MQTT v5 SUBSCRIBE Parsing","id":"CVE-2026-73863"},"packages":[{"ecosystem":"Packagist","fixed":["5.10.14"],"introduced":["5.0.0"],"last_affected":[],"package":"solspace/craft-freeform","purl":null,"source":"GHSA-gxrg-x694-283w"},{"ecosystem":"Packagist","fixed":["5.10.14"],"introduced":["5.0.0"],"last_affected":[],"package":"solspace/craft-freeform","purl":"pkg:composer/solspace/craft-freeform","source":"GHSA-gxrg-x694-283w"}],"prev":{"headline":"Kiota: Path traversal in generated plugin manifest static_template.file reference (percent-encoding bypass)","id":"CVE-2026-73851"},"products":["craft-freeform"],"published":"2026-09-23","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-23","vendors":["solspace"]},"summary":"Unauthenticated attackers can inject Twig expressions into form fields to disclose server and environment information via the isolated renderer.","url":"https://insights.sbomify.com/CVE-2026-73858/"}