Skip to content
Heist/ feed
Critical

Handlebars: JavaScript Injection via Own Property Check Bypass

Type: advisorySource: Official CVE List1 source record

Handlebars provides the power necessary to let users build semantic templates. From 3.0.0 until 4.7.10, Handlebars lookupProperty returns Function.prototype.constructor before applying the prototype-access deny list because constructor is an own property of Function.prototype. When an attacker can render a controlled template with allowProtoMethodsByDefault enabled and an accessible function in the template context, the template can traverse from that function through its prototype to Function.prototype and then obtain the Function constructor through the own-property bypass. This permits attacker-controlled JavaScript to execute with the server application's privileges. This issue is fixed in version 4.7.10.

Announced Source revision 1
Original source ↗

CVE-2026-106445

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-106445

handlebars.js

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "handlebars-lang",
    "product": "handlebars.js",
    "versions": [
      {
        "status": "affected",
        "version": ">= 3.0.0, < 4.7.10"
      }
    ]
  }
]
Related CVEs
CVE-2026-106445

Source reference: /cveMetadata/cveId

Publisher severity

critical

Source reference: /containers/cna/metrics

Event
#17072 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement