THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-xw65-4hp5-5hc7 (medium) — Handlebars: JavaScript Injection via Unsafe Inline Embedding of Precompiled Templates

[GHSA] GHSA-xw65-4hp5-5hc7 (medium) — Handlebars: JavaScript Injection via Unsafe Inline Embedding of Precompiled Templates

medgithub_advisoriesPublished 2026-10-08

GHSA-xw65-4hp5-5hc7 Severity: medium CVE: CVE-2026-106444

Handlebars: JavaScript Injection via Unsafe Inline Embedding of Precompiled Templates

## Summary

`Handlebars.precompile()` generates JavaScript source that is commonly embedded in browser `<script>` elements. Before the fix, static template text containing `</script>` was emitted unchanged. HTML parsers recognize `</script>` even inside

MITRE ATT&CK techniques

Indicators of compromise

Original source: https://github.com/advisories/GHSA-xw65-4hp5-5hc7