p PatchFirst

CVE-2026-106445

CVE-2026-106445 · Handlebars: JavaScript Injection via Own Property Check Bypass

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

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.

CVSS 9.2 · Critique · EPSS 0,6% · Code d’exploitation public · Correctif disponible

Publication
Mise à jour

Pile logicielle: system · node

Produits et versions concernés

  • handlebars.js

    Versions du logiciel
    • >= 3.0.0, < 4.7.10: Concernée

    Aucun correctif publié

  • node-handlebars Debian:12

    Versions du logiciel
    • 3:4.7.10-1
    • 3:4.7.7+~4.1.0-1
    • 3:4.7.9-1
    • 3:4.7.9-2
    • 3:4.7.9-3
    • 3:4.7.9-4
    • 3:4.7.9-5
    • 3:4.7.9-6
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • node-handlebars Debian:13

    Versions du logiciel
    • 3:4.7.10-1
    • 3:4.7.7+~4.1.0-1
    • 3:4.7.9-1
    • 3:4.7.9-2
    • 3:4.7.9-3
    • 3:4.7.9-4
    • 3:4.7.9-5
    • 3:4.7.9-6
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • node-handlebars Debian:14

    Versions du logiciel
    • 3:4.7.7+~4.1.0-1
    • 3:4.7.9-1
    • 3:4.7.9-2
    • 3:4.7.9-3
    • 3:4.7.9-4
    • 3:4.7.9-5
    • 3:4.7.9-6
    Plages de versions concernées
    • ECOSYSTEM: < 3:4.7.10-1

    Mettez à jour vers 3:4.7.10-1

  • handlebars npm

    Plages de versions concernées
    • SEMVER: ≥ 3.0.0, < 4.7.10

    Mettez à jour vers 4.7.10

  • node-handlebars Ubuntu:18.04:LTS

    Versions du logiciel
    • 3:4.0.10-5
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • node-handlebars Ubuntu:20.04:LTS

    Versions du logiciel
    • 3:4.1.0-1
    • 3:4.5.3-1
    • 3:4.7.2-1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • node-handlebars Ubuntu:22.04:LTS

    Versions du logiciel
    • 3:4.7.6+~4.1.0-2
    • 3:4.7.7+~4.1.0-1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • node-handlebars Ubuntu:24.04:LTS

    Versions du logiciel
    • 3:4.7.7+~4.1.0-1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • node-handlebars Ubuntu:26.10

    Versions du logiciel
    • 3:4.7.7+~4.1.0-1
    • 3:4.7.9-5
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • node-handlebars Ubuntu:26.04:LTS

    Versions du logiciel
    • 3:4.7.7+~4.1.0-1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

Sources originales

Vérifiez votre serveur →