CVE-2026-106445
CVE-2026-106445 · Handlebars: JavaScript Injection via Own Property Check Bypass
Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.
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 · Crítica · EPSS 0,6% · Código de explotación público · Corrección disponible
- Publicación
- Actualización
Pila tecnológica: system · node
Productos y versiones afectados
handlebars.js
- Versiones
- >= 3.0.0, < 4.7.10: Afectada
Sin corrección publicada
node-handlebars Debian:12
- Versiones
- 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
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
node-handlebars Debian:13
- Versiones
- 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
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
node-handlebars Debian:14
- Versiones
- 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
- Intervalos de versiones afectados
- ECOSYSTEM: < 3:4.7.10-1
Actualiza a 3:4.7.10-1
handlebars npm
- Intervalos de versiones afectados
- SEMVER: ≥ 3.0.0, < 4.7.10
Actualiza a 4.7.10
node-handlebars Ubuntu:18.04:LTS
- Versiones
- 3:4.0.10-5
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
node-handlebars Ubuntu:20.04:LTS
- Versiones
- 3:4.1.0-1
- 3:4.5.3-1
- 3:4.7.2-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
node-handlebars Ubuntu:22.04:LTS
- Versiones
- 3:4.7.6+~4.1.0-2
- 3:4.7.7+~4.1.0-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
node-handlebars Ubuntu:24.04:LTS
- Versiones
- 3:4.7.7+~4.1.0-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
node-handlebars Ubuntu:26.10
- Versiones
- 3:4.7.7+~4.1.0-1
- 3:4.7.9-5
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
node-handlebars Ubuntu:26.04:LTS
- Versiones
- 3:4.7.7+~4.1.0-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
Fuentes originales
- https://github.com/handlebars-lang/handlebars.js/security/advisories/GHSA-p8wg-vrv2-v86f
- https://github.com/handlebars-lang/handlebars.js/pull/2185
- https://github.com/handlebars-lang/handlebars.js/commit/ceec388abe1d1aac8f6369860d5f390fa71ef4fa
- https://github.com/handlebars-lang/handlebars.js/releases/tag/v4.7.10
- https://nvd.nist.gov/vuln/detail/CVE-2026-106445