1. Accueil
  2. Vulnérabilités
  3. CVE-2026-106445

CVE-2026-106445

Handlebars: JavaScript Injection via Own Property Check Bypass

Publiée le 6 oct. 2026 · modifiée le 12 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Moyen 57/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

handlebars-lang (1 ligne(s))
handlebars-lang
ProduitVersionsCorrigé dansSource
handlebars.js Versions non précisées — CNA (éditeur ou attributeur)
npm (1 ligne(s))
npm
ProduitVersionsCorrigé dansSource
handlebars de 3.0.0 (inclus) à 4.7.10 (exclu) 4.7.10 GitHub Advisory

Correctif

Mise à jour — npm/handlebars 4.7.10source officielle

Source : GitHub Advisory

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Exploit signalé par les sources

Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.

Chronologie

  1. — Publication de la CVE (cve)
  2. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1385)
  3. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1539)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N (CVSS 4.0, CNA:GitHub_M)
Faiblesse
CWE-184 · Autre (CWE-184)

Comment sont obtenues et calculées ces données