<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Mon, 19 Oct 2026 14:43:01 +0000</lastBuildDate>
    <item>
      <title>fkie_cve-2026-106444</title>
      <link>https://db.gcve.eu/vuln/fkie_cve-2026-106444</link>
      <description>&lt;p&gt;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.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;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.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/fkie_cve-2026-106444</guid>
    </item>
    <item>
      <title>GHSA-xw65-4hp5-5hc7 — Handlebars: JavaScript Injection via Unsafe Inline Embedding of Precompiled Templates</title>
      <link>https://db.gcve.eu/vuln/ghsa-xw65-4hp5-5hc7</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: handlebars&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;`Handlebars.precompile()` generates JavaScript source that is commonly embedded in browser `&amp;lt;script&amp;gt;` elements. Before the fix, static template text containing `&amp;lt;/script&amp;gt;` was emitted unchanged. HTML parsers recognize `&amp;lt;/script&amp;gt;` even inside a JavaScript string literal, closing the surrounding script element and allowing following attacker-controlled markup to be parsed and executed.&lt;/p&gt;
&lt;p&gt;This affects applications that precompile attacker-controlled templates and embed the generated source directly in an HTML `&amp;lt;script&amp;gt;` element. It does not affect ordinary server-side rendering or precompiled templates delivered as external JavaScript files.&lt;/p&gt;
&lt;p&gt;## Details&lt;/p&gt;
&lt;p&gt;Static text is serialized by `quotedString()` in `lib/handlebars/compiler/code-gen.js`. The generated JavaScript is valid, but JavaScript quoting alone does not make it safe to embed in HTML. In HTML script data, the sequence `&amp;lt;/script&amp;gt;` terminates the element regardless of JavaScript string context.&lt;/p&gt;
&lt;p&gt;On affected releases, this template:&lt;/p&gt;
&lt;p&gt;```handlebars
safe&amp;lt;/script&amp;gt;&amp;lt;script&amp;gt;alert(&amp;#34;XSS&amp;#34;)&amp;lt;/script&amp;gt;&amp;lt;script&amp;gt;
```&lt;/p&gt;
&lt;p&gt;could produce generated source containing:&lt;/p&gt;
&lt;p&gt;```js
return &amp;#39;safe&amp;lt;/script&amp;gt;&amp;lt;script&amp;gt;alert(&amp;#34;XSS&amp;#34;)&amp;lt;/script&amp;gt;&amp;lt;script&amp;gt;&amp;#39;;
```&lt;/p&gt;
&lt;p&gt;When included inline in an HTML document, the first `&amp;lt;/script&amp;gt;` closes the script containing the precompiled template. The next `&amp;lt;script&amp;gt;` element is then parsed as HTML and executes.&lt;/p&gt;
&lt;p&gt;## Proof of Concept&lt;/p&gt;
&lt;p&gt;```js
const Handlebars = require(&amp;#39;handlebars&amp;#39;);&lt;/p&gt;
&lt;p&gt;const template = &amp;#39;safe&amp;lt;/script&amp;gt;&amp;lt;script&amp;gt;alert(&amp;#34;…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: handlebars&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;`Handlebars.precompile()` generates JavaScript source that is commonly embedded in browser `&amp;lt;script&amp;gt;` elements. Before the fix, static template text containing `&amp;lt;/script&amp;gt;` was emitted unchanged. HTML parsers recognize `&amp;lt;/script&amp;gt;` even inside a JavaScript string literal, closing the surrounding script element and allowing following attacker-controlled markup to be parsed and executed.&lt;/p&gt;
&lt;p&gt;This affects applications that precompile attacker-controlled templates and embed the generated source directly in an HTML `&amp;lt;script&amp;gt;` element. It does not affect ordinary server-side rendering or precompiled templates delivered as external JavaScript files.&lt;/p&gt;
&lt;p&gt;## Details&lt;/p&gt;
&lt;p&gt;Static text is serialized by `quotedString()` in `lib/handlebars/compiler/code-gen.js`. The generated JavaScript is valid, but JavaScript quoting alone does not make it safe to embed in HTML. In HTML script data, the sequence `&amp;lt;/script&amp;gt;` terminates the element regardless of JavaScript string context.&lt;/p&gt;
&lt;p&gt;On affected releases, this template:&lt;/p&gt;
&lt;p&gt;```handlebars
safe&amp;lt;/script&amp;gt;&amp;lt;script&amp;gt;alert(&amp;#34;XSS&amp;#34;)&amp;lt;/script&amp;gt;&amp;lt;script&amp;gt;
```&lt;/p&gt;
&lt;p&gt;could produce generated source containing:&lt;/p&gt;
&lt;p&gt;```js
return &amp;#39;safe&amp;lt;/script&amp;gt;&amp;lt;script&amp;gt;alert(&amp;#34;XSS&amp;#34;)&amp;lt;/script&amp;gt;&amp;lt;script&amp;gt;&amp;#39;;
```&lt;/p&gt;
&lt;p&gt;When included inline in an HTML document, the first `&amp;lt;/script&amp;gt;` closes the script containing the precompiled template. The next `&amp;lt;script&amp;gt;` element is then parsed as HTML and executes.&lt;/p&gt;
&lt;p&gt;## Proof of Concept&lt;/p&gt;
&lt;p&gt;```js
const Handlebars = require(&amp;#39;handlebars&amp;#39;);&lt;/p&gt;
&lt;p&gt;const template = &amp;#39;safe&amp;lt;/script&amp;gt;&amp;lt;script&amp;gt;alert(&amp;#34;…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-xw65-4hp5-5hc7</guid>
    </item>
    <item>
      <title>UBUNTU-CVE-2026-106444</title>
      <link>https://db.gcve.eu/vuln/ubuntu-cve-2026-106444</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Ubuntu:16.04:LTS: ruby-handlebars-assets, Ubuntu:18.04:LTS: node-handlebars, Ubuntu:18.04:LTS: ruby-handlebars-assets, Ubuntu:20.04:LTS: node-handlebars, Ubuntu:20.04:LTS: ruby-handlebars-assets, Ubuntu:22.04:LTS: node-handlebars, Ubuntu:22.04:LTS: ruby-handlebars-assets, Ubuntu:24.04:LTS: node-handlebars, Ubuntu:24.04:LTS: ruby-handlebars-assets, Ubuntu:26.10: node-handlebars and 1 more&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Ubuntu:16.04:LTS: ruby-handlebars-assets, Ubuntu:18.04:LTS: node-handlebars, Ubuntu:18.04:LTS: ruby-handlebars-assets, Ubuntu:20.04:LTS: node-handlebars, Ubuntu:20.04:LTS: ruby-handlebars-assets, Ubuntu:22.04:LTS: node-handlebars, Ubuntu:22.04:LTS: ruby-handlebars-assets, Ubuntu:24.04:LTS: node-handlebars, Ubuntu:24.04:LTS: ruby-handlebars-assets, Ubuntu:26.10: node-handlebars and 1 more&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ubuntu-cve-2026-106444</guid>
    </item>
  </channel>
</rss>
