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 |
|---|---|---|---|
| 库中暂无影响产品。 | |||