GHSA-r5fr-rjxr-66jc · 深刻度: high · エコシステム: npm — lodash vulnerable to Code Injection via `_.template` imports key names
Impact: The fix for CVE-2021-23337 (https://github.com/advisories/GHSA-35jh-r3h4-6jhm) added validation for the variable option in _.template but did not apply the same validation to options.imports key names. Both paths flow into the same Function() constructor sink. When an application passes untrusted input as options.imports key names, an attacker can inject default-parameter expressions that execute arbitrary code at template compilation time. Additionally, _.template uses assignInWith to merge imports, which enumerates inherited properties via for..in. If Object.prototype has been polluted by any other vector, the polluted keys are copied into the imports object and passed to Function(). Patches: Users should upgrade to version 4.18.0. Workarounds: Do not pass untrusted input as key names in options.imports. Only use developer-controlled, static key names.
総合評価: CVE-2026-4800 は中リスク(54/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 1.03%、59 パーセンタイル) 推奨対応: 影響資産を整理し、修補計画に組み込んでください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.04% | 1.03% | +0.99% |
| 2 | 2026-04-21 | 0.07% | 0.04% | -0.03% |
| 3 | 2026-04-01 | — | 0.07% | — |
EPSS の全履歴 (全 3 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 8.1 | 3.1 | HIGH |
|
2.2 | 5.9 | ce714d77-add3-4f53-aff5-83d477b104bb |
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
GHSA-r5fr-rjxr-66jc · 深刻度: high · エコシステム: npm — lodash vulnerable to Code Injection via `_.template` imports key names
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2026-4800 not yet assigned priority: Debian including 1 source packages (node-lodash), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 3, resolved 2. | https://security-tracker.debian.org/tracker/CVE-2026-4800 |
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2026-4800 |
ubuntu
|
medium | CVE-2026-4800 medium priority: Ubuntu including 1 source packages (node-lodash), 7 status rows across 7 suites (bionic, focal, jammy, noble, questing, upstream, xenial): needs-triage 7. | https://ubuntu.com/security/CVE-2026-4800 |
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| lodash | lodash | >= 4.0.0, < 4.18.0 | cpe:2.3:a:lodash:lodash:*:*:*:*:*:node.js:*:* |
| lodash | lodash-amd | >= 4.0.0, < 4.18.0 | cpe:2.3:a:lodash:lodash-amd:*:*:*:*:*:node.js:*:* |
| lodash | lodash-es | >= 4.0.0, < 4.18.0 | cpe:2.3:a:lodash:lodash-es:*:*:*:*:*:node.js:*:* |
| lodash | lodash.template | >= 4.0.0, < 4.18.0 | cpe:2.3:a:lodash:lodash.template:*:*:*:*:*:node.js:*:* |
| URL | タグ |
|---|---|
| https://cna.openjsf.org/security-advisories.html | Third Party Advisory |
| https://github.com/advisories/GHSA-35jh-r3h4-6jhm | Not Applicable |
| https://github.com/lodash/lodash/commit/3469357cff396a26c363f8c1b5a91dde28ba4b1c | Not Applicable |