GHSA-2w6w-674q-4c4q · 深刻度: critical · エコシステム: npm — Handlebars.js has JavaScript Injection via AST Type Confusion
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 arbitrary JavaScript, leading to Remote Code Execution on the server. Version 4.7.9 fixes the issue. Some workarounds are available. Validate input type before calling `Handlebars.compile()`; ensure the argument is always a `string`, never a plain object or JSON-deserialized value. Use the Handlebars runtime-only build (`handlebars/runtime`) on the server if templates are pre-compiled at build time; `compile()` will be unavailable.
総合評価: CVE-2026-33937 は悪用リスクが高い(78.5/100)。CVSS 深刻度は重大。悪用される可能性が高い(EPSS 1.29%、66 パーセンタイル) 根拠: 公開エクスプロイトが 1 件参照されています(Exploit-DB)。 直近 1 日で EPSS が +1.13% 上昇。悪用への関心が高まっている可能性があります。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
| EDB-ID | ソース | 種別 | 公開 | リンク |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.15% | 1.29% | +1.13% |
| 2 | 2026-04-21 | 0.43% | 0.15% | -0.27% |
| 3 | 2026-04-02 | — | 0.43% | — |
EPSS の全履歴 (全 4 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
GHSA-2w6w-674q-4c4q · 深刻度: critical · エコシステム: npm — Handlebars.js has JavaScript Injection via AST Type Confusion
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2026-33937 not yet assigned priority: Debian including 1 source packages (node-handlebars), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 3, resolved 2. | https://security-tracker.debian.org/tracker/CVE-2026-33937 |
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2026-33937 |
ubuntu
|
medium | CVE-2026-33937 medium priority: Ubuntu including 1 source packages (node-handlebars), 6 status rows across 6 suites (bionic, focal, jammy, noble, questing, upstream): needs-triage 5, released 1. | https://ubuntu.com/security/CVE-2026-33937 |
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| handlebarsjs | handlebars | >= 4.0.0, < 4.7.9 | cpe:2.3:a:handlebarsjs:handlebars:*:*:*:*:*:node.js:*:* |