@angular/build 22.2.x, 21.2.x and 20.3.x depend on [email protected] / [email protected] which are vulnerable to CVE-2026-112943
Maintainer thường phản hồi trong vòng 1 ngày
@florimond-collette đang làm issue này rồi.
Từ ngày 20/10/2026.
- #34453 của @florimond-collette — đang mở
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- angular, typescript, vite
Hướng nghiên cứu
Start with the dependency update PR linked to this issue and the Renovate updates named in the description. Compare the Vite and Rolldown versions required on 22.2.x with those on 21.2.x and 20.3.x, and review the prior fix in #33407. Done when all listed supported branches use patched Vite versions and the required Rolldown dependency is compatible.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Command
serve
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
See https://github.com/advisories/GHSA-698v-4r3x-3vcv (CVE-2026-112943, CVSS v4 6.3): "launch-editor: escapeCmdArgs() omits % escaping on Windows". vite bundles launch-editor into its dist, so the fix only ships with a vite bump.
Affected ranges relevant here: vite >= 8.3.0, <= 8.3.2 (patched in 8.3.3) and vite >= 7.0.0, <= 7.3.6 (patched in 7.3.7).
@angular/build pins a vulnerable version exactly on the active and both LTS branches:
- v22:
@angular/build22.2.0 through 22.2.3 (latest) depend on[email protected] - v21 LTS:
@angular/build21.2.18 through 21.2.27 (latest) depend on[email protected](earlier 21.2.x pinned 7.3.1 to 7.3.5, also affected) - v20 LTS:
@angular/build20.3.31 through 20.3.40 (latest) depend on[email protected](earlier 20.3.x pinned 7.1.2 to 7.3.5, also affected)
ng serve keeps vite's /__open-in-editor middleware, so the dev server on Windows is affected. main is already fixed ([email protected] in 22.3.0-next.2).
The fix would be:
- 22.2.x: approving the pending Renovate updates "build: update dependency vite to v8.3.4 (22.2.x)" and "build: update dependency rolldown to v1.2.14 (22.2.x)" on the Dependency Dashboard (#23493), since vite 8.3.4 requires
rolldown ~1.2.12while 22.2.x pins1.2.8 - 21.2.x and 20.3.x: bumping
viteto7.3.7, as was done for #33407 (#33408 / #33409)
Minimal Reproduction
- npm view @angular/build@latest version dependencies.vite
- npm view @angular/build@v21-lts version dependencies.vite
- npm view @angular/build@v20-lts version dependencies.vite
Exception or Error
$ npm view @angular/build@latest version dependencies.vite
version = '22.2.3'
dependencies.vite = '8.3.0'
$ npm view @angular/build@v21-lts version dependencies.vite
version = '21.2.27'
dependencies.vite = '7.3.6'
$ npm view @angular/build@v20-lts version dependencies.vite
version = '20.3.40'
dependencies.vite = '7.3.6'
Your Environment
@angular/build : 22.2.3 / 21.2.27 / 20.3.40
Package Manager : npm
Anything else relevant?
npm audit does not flag this yet ("found 0 vulnerabilities" on all three versions), as the advisory was only published on 2026-10-20 and is not yet in the npm advisory feed.
The same vite releases also fix GHSA-9jrq-w75r-8gcw, GHSA-rq7h-c2jc-7f22 and GHSA-vfpm-58rq-9qcg (8.x only), which are not yet in the GitHub Advisory Database.
- Ngôn ngữ chính
- TypeScript
- Star
- 27k
- Fork
- 11.8k
- Merge trung bình
- 1 ngày 6 giờ
- Pull request đã merge (30 ngày)
- 216
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của angular/angular-cli
-
Can't use an array of hostnames in --allowedHosts cli parameter in @angular/build:dev-serverĐang mởarea: @angular/build gemini-triaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
angular/angular-cli#33955 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: @angular/cli gemini-triaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
angular/angular-cli#33055 · 1 bình luận · 3 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
@angular/cli 21.2.x and 20.3.x depend on @modelcontextprotocol/[email protected] which is vulnerable to CVE-2026-111767, CVE-2026-111768, CVE-2026-111769 and CVE-2026-111771Có thể đã có người làm @florimond-collette đã nhận hôm nay. Đang mởarea: @angular/cli
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
angular/angular-cli#34455 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`ng generate app-shell` and `ng generate module --route` produce broken imports when a component `type` is configuredCó thể đã có người làm @MeAkib đã nhận 1 ngày trước. Đang mởarea: @schematics/angular
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
angular/angular-cli#34449 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`ng generate component/directive --module` declares a class that doesn't exist when `addTypeToClassName` is `false`Có thể đã có người làm @MeAkib đã nhận 1 ngày trước. Đang mởarea: @schematics/angular
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
angular/angular-cli#34447 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của angular/angular-cli
Issue tương tự
-
[BUG] rag: sentence content can cross the reported sentence boundariesCó thể đã có người làm @LJK-ikun đã nhận hôm nay. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
README: the Resource URI Schemas example's file://documents/* pattern only matches that literal URIĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
platformatic/mcp#361 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
frontend
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Push: sem service worker ou sem VAPID, o interruptor de Notificações fica ligado sem avisar nadaĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
melgarafael/DeskcommCRM#3164 ·
Maintainer thường phản hồi trong vòng 1 ngày