GHSA-9pp3-53p2-ww9v · 嚴重度: critical · 生態: npm — @vendure/core has a SQL Injection vulnerability
Vendure is an open-source headless commerce platform. Starting in version 1.7.4 and prior to versions 2.3.4, 3.5.7, and 3.6.2, an unauthenticated SQL injection vulnerability exists in the Vendure Shop API. A user-controlled query string parameter is interpolated directly into a raw SQL expression without parameterization or validation, allowing an attacker to execute arbitrary SQL against the database. This affects all supported database backends (PostgreSQL, MySQL/MariaDB, SQLite). The Admin API is also affected, though exploitation there requires authentication. Versions 2.3.4, 3.5.7, and 3.6.2 contain a patch. For those who are unable to upgrade immediately, Vendure has made a hotfix available that uses `RequestContextService.getLanguageCode` to validate the `languageCode` input at the boundary. This blocks injection payloads before they can reach any query. The hotfix replaces the existing `getLanguageCode` method in `packages/core/src/service/helpers/request-context/request-context.service.ts`. Invalid values are silently dropped and the channel's default language is used instead. The patched versions additionally convert the vulnerable SQL interpolation to a parameterized query as defense in depth.
結論預警: CVE-2026-40887 綜合評估為中等風險(57.7/100):CVSS 技術影響為嚴重級,利用機率(EPSS 1.76%) 強制指令: 梳理受影響資產並納入修補計畫。
風險隨態勢動態變化;本站持續評估並同步更新本頁展示內容。
EPSS 日更估計相對被利用可能性;百分位表示該 CVE 在已評分漏洞中的相對排名(越高表示相對更嚴重)。
| # | 日期 | 舊 EPSS 分數 | 新 EPSS 分數 | 變化(新 − 舊) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 7.70% | 1.76% | -5.94% |
| 2 | 2026-06-02 | 5.83% | 7.70% | +1.88% |
| 3 | 2026-05-23 | — | 5.83% | — |
完整 EPSS 歷史 (共 5 筆)
該 CVE 的 CVSS 指標。
| 底座分 | 版本 | 嚴重度 | 向量 | 可利用性 | 影響 | 分數來源 |
|---|---|---|---|---|---|---|
| 9.1 | 3.1 | CRITICAL |
|
3.9 | 5.2 | [email protected] |
GHSA-9pp3-53p2-ww9v · 嚴重度: critical · 生態: npm — @vendure/core has a SQL Injection vulnerability
| 廠商 | 產品 | 版本 | 原始 CPE |
|---|---|---|---|
| 庫中暫無影響產品。 | |||