CVE-2026-33937: Schwachstelle in Handlebarsjs Handlebars
Kritisch. Handlebars provides the power necessary to let users build semantic templates. In versions 4.0.0 through 4.7.8, Handlebars.compile() accepts a pre-parsed AST object in addition to a template string. The value field of a NumberLiteral AST node is emitted directly into the generated JavaScript without quoting or sanitization. An attacker who can supply a crafted AST to compile() can therefore inject and execute...
npm, CWE-94, CWE-843
- Ausnutzung
- Nicht bestätigt
- Schweregrad
- 9,8 von 10
- Angriffsrisiko
- Unbekannt
- Korrektur
- Korrigierte Version bekannt
- Update-Frist
- Keine Frist gesetzt
Details
- Hinweis-ID
- GHSA-2w6w-674q-4c4q
- Vektor
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Fehlerklasse
- CWE-94, CWE-843
- Veröffentlicht
- 27. März 2026
- Letzte Änderung
- 26. Okt. 2026
- Ökosystem
- npm
Betroffene Produkte
Betroffene Versionen und erste korrigierte Version
- Handlebarsjs Handlebars Ab 4.0.0 bis vor 4.7.9. Behoben in 4.7.9
Betroffene Pakete
Anfällige Versionsbereiche und korrigierte Versionen
- handlebars npm, Betroffen: Ab 4.0.0 bis einschließlich 4.7.8. Behoben in 4.7.9
Sicherheitshinweise
Hinweise von Herstellern und Sicherheitsstellen
- github.com/handlebars-lang/handlebars.js/security/advisories/GHSA-2w6w-674q-4c4q
- access.redhat.com/errata/RHSA-2026:10175
- access.redhat.com/errata/RHSA-2026:34342
- access.redhat.com/security/cve/CVE-2026-33937
Updates und Korrekturen
Updates, Commits und Versionshinweise
- github.com/handlebars-lang/handlebars.js/commit/68d8df5a88e0a26fe9e6084c5c6aaebe67b07da2
- github.com/handlebars-lang/handlebars.js/releases/tag/v4.7.9
Weiter
- Schwachstellen in Handlebars Aktuelle Hinweise, Produkt beobachten