{"answers":{"affected":"2 open source packages ship an affected version, including handlebars.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-106444 exists.","fix":"Upgrade handlebars to 4.7.10 or later.","what":"CVE-2026-106444 is a medium-severity cross-site scripting vulnerability in handlebars-lang handlebars.js, published on 6 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-106444 and fix it if it is affected.\n\nWhat it is: CVE-2026-106444 is a medium-severity cross-site scripting vulnerability in handlebars-lang handlebars.js, published on 6 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-106444 exists.\n\nAffected packages and fixed versions:\n- handlebars (npm): affected from 4.0.0; fixed in 4.7.10\n- handlebars (npm): affected from 4.0.0; fixed in 4.7.10\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-106444/ (Markdown: https://insights.sbomify.com/CVE-2026-106444/index.md)","id":"CVE-2026-106444","markdown":"https://insights.sbomify.com/CVE-2026-106444/index.md","name":"CVE-2026-106444","record":{"aliases":["CLEANSTART-2026-ZV74526","CLSA-2026-1791806399","CLSA-2026-1791821351","DEBIAN-CVE-2026-106444","ECHO-6434-f033-74ec","GHSA-xw65-4hp5-5hc7","MINI-4w87-6f58-24vc","MINI-5rhw-f96v-c8hx","MINI-c6f4-c8vg-cr4g","MINI-hf37-79rc-9vwf","MINI-jx74-94gj-j4mp","MINI-mjp4-296p-h84g","MINI-qq84-7h55-26fq","MINI-r89r-j599-87h5","MINI-rgvh-m439-mxrm","MINI-v948-3vq3-j7m7","MINI-x79q-mr99-g5hj","UBUNTU-CVE-2026-106444"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"JavaScript templating library","requires_auth":"none","summary":"Attacker can execute arbitrary JavaScript if precompiled templates are embedded inline without proper escaping, affecting applications using Handlebars.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":4.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"description":"Handlebars provides the power necessary to let users build semantic templates. From 4.0.0 until 4.7.10, Handlebars.precompile() uses quotedString() in lib/handlebars/compiler/code-gen.js to emit static template text into generated JavaScript without escaping sequences that terminate an enclosing HTML script element. When an application precompiles attacker-controlled template text and embeds the generated source directly in an inline script element, a closing script delimiter can end the element and cause following attacker-controlled markup to be parsed and executed. Ordinary server-side rendering and precompiled templates served as external JavaScript files are not affected. This issue is fixed in version 4.7.10.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Handlebars: JavaScript Injection via Unsafe Inline Embedding of Precompiled Templates","id":"CVE-2026-106444","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":2,"n_references":4,"next":{"headline":"Handlebars: JavaScript Injection via Own Property Check Bypass","id":"CVE-2026-106445"},"packages":[{"ecosystem":"npm","fixed":["4.7.10"],"introduced":["4.0.0"],"last_affected":[],"package":"handlebars","purl":null,"source":"GHSA-xw65-4hp5-5hc7"},{"ecosystem":"npm","fixed":["4.7.10"],"introduced":["4.0.0"],"last_affected":[],"package":"handlebars","purl":"pkg:npm/handlebars","source":"GHSA-xw65-4hp5-5hc7"}],"prev":{"headline":"WeasyPrint: EPS images reach the Ghostscript interpreter resulting in RCE","id":"CVE-2026-106443"},"products":["handlebars.js"],"published":"2026-10-06","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":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-06","vendors":["handlebars-lang"]},"summary":"Attacker can execute arbitrary JavaScript if precompiled templates are embedded inline without proper escaping, affecting applications using Handlebars.","url":"https://insights.sbomify.com/CVE-2026-106444/"}