<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-19T14:43:00.780226+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/fkie_cve-2026-106444</id>
    <title>fkie_cve-2026-106444</title>
    <updated>2026-10-19T14:43:00.782520+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>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.</p>
      </div>
    </content>
    <link href="https://db.gcve.eu/vuln/fkie_cve-2026-106444"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-xw65-4hp5-5hc7</id>
    <title>GHSA-xw65-4hp5-5hc7 — Handlebars: JavaScript Injection via Unsafe Inline Embedding of Precompiled Templates</title>
    <updated>2026-10-19T14:43:00.782619+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> npm: handlebars</p>
<p>## Summary</p>
<p>`Handlebars.precompile()` generates JavaScript source that is commonly embedded in browser `&lt;script&gt;` elements. Before the fix, static template text containing `&lt;/script&gt;` was emitted unchanged. HTML parsers recognize `&lt;/script&gt;` even inside a JavaScript string literal, closing the surrounding script element and allowing following attacker-controlled markup to be parsed and executed.</p>
<p>This affects applications that precompile attacker-controlled templates and embed the generated source directly in an HTML `&lt;script&gt;` element. It does not affect ordinary server-side rendering or precompiled templates delivered as external JavaScript files.</p>
<p>## Details</p>
<p>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 `&lt;/script&gt;` terminates the element regardless of JavaScript string context.</p>
<p>On affected releases, this template:</p>
<p>```handlebars
safe&lt;/script&gt;&lt;script&gt;alert("XSS")&lt;/script&gt;&lt;script&gt;
```</p>
<p>could produce generated source containing:</p>
<p>```js
return 'safe&lt;/script&gt;&lt;script&gt;alert("XSS")&lt;/script&gt;&lt;script&gt;';
```</p>
<p>When included inline in an HTML document, the first `&lt;/script&gt;` closes the script containing the precompiled template. The next `&lt;script&gt;` element is then parsed as HTML and executes.</p>
<p>## Proof of Concept</p>
<p>```js
const Handlebars = require('handlebars');</p>
<p>const template = 'safe&lt;/script&gt;&lt;script&gt;alert("…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-xw65-4hp5-5hc7"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/ubuntu-cve-2026-106444</id>
    <title>UBUNTU-CVE-2026-106444</title>
    <updated>2026-10-19T14:43:00.782720+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> 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</p>
<p>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.</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ubuntu-cve-2026-106444"/>
  </entry>
</feed>
