{"id":"CVE-2026-106444","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-106444","generatedAt":"2026-10-28T10:37:04.052Z","title":"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…","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.","published":"2026-10-06T20:17:26.000Z","lastModified":"2026-10-07T13:58:30.000Z","status":"Awaiting Analysis","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":4.7,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N"},"cwe":["CWE-116"],"affected":[],"epss":{"score":0.0029,"percentile":0.21464,"date":"2026-10-27","history":[{"date":"2026-10-07","score":0.00294,"percentile":0.20211}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.29%). Track it; it rarely justifies an emergency change on its own."},"changes":[{"kind":"new","label":"New CVE","at":"2026-10-06T20:17:26.000Z","detail":{"score":"4.7","severity":"MEDIUM","publishedAt":"2026-10-06T20:17:26.130Z"},"summary":"New CVE, medium severity (CVSS 4.7)."}],"references":[{"url":"https://github.com/handlebars-lang/handlebars.js/commit/609d1b11c833c9a3e00f56f2f34d22f425446725","source":"security-advisories@github.com"},{"url":"https://github.com/handlebars-lang/handlebars.js/pull/2185","source":"security-advisories@github.com"},{"url":"https://github.com/handlebars-lang/handlebars.js/releases/tag/v4.7.10","source":"security-advisories@github.com"},{"url":"https://github.com/handlebars-lang/handlebars.js/security/advisories/GHSA-xw65-4hp5-5hc7","source":"security-advisories@github.com"},{"url":"https://github.com/handlebars-lang/handlebars.js/security/advisories/GHSA-xw65-4hp5-5hc7","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-106444","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}