Skip to content

Angular 19 depends on vulnerable version of Vite #30056

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task
prajapatijay95 opened this issue Apr 8, 2025 · 6 comments
Closed
1 task

Angular 19 depends on vulnerable version of Vite #30056

prajapatijay95 opened this issue Apr 8, 2025 · 6 comments
Labels
area: @angular/build freq1: low Only reported by a handful of users who observe it rarely severity6: security type: bug/fix

Comments

@prajapatijay95
Copy link

Command

other

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

The Angular CLI v19 depends on Vite version 6.2.4, which is vulnerable: GHSA-xcj6-pq6g-qj4x

It should be updated to v6.2.5

Minimal Reproduction
Generate a new error with ng new and run npm audit

Exception or Error

Minimal Reproduction

Generate a new error with ng new and run npm audit

Exception or Error


Your Environment

Angular CLI: 19.2.6
Node: 22.14.0
Package Manager: npm 11.2.0
OS: darwin arm64

Angular: 19.2.6
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1902.6
@angular-devkit/build-angular   19.2.6
@angular-devkit/core            19.2.6
@angular-devkit/schematics      19.2.6
@angular/cdk                    19.2.6
@angular/cli                    19.2.6
@angular/material               19.2.6
@schematics/angular             19.2.6
rxjs                            7.8.2
typescript                      5.8.2
zone.js                         0.15.0

Anything else relevant?

No response

@murugan-h
Copy link

murugan-h commented Apr 8, 2025

Can we please update the build version of vite and checkin. I have raised the same issue as well. The older version of 6.1.4 was working correctly. The one used here 6.2.4 seems to be the problem. Can we please update it to 6.2.5

@alan-agius4 alan-agius4 reopened this Apr 8, 2025
alan-agius4 added a commit to alan-agius4/angular-cli that referenced this issue Apr 8, 2025
@alan-agius4 alan-agius4 added type: bug/fix freq1: low Only reported by a handful of users who observe it rarely severity6: security area: @angular/build labels Apr 8, 2025
alan-agius4 added a commit that referenced this issue Apr 8, 2025
@alan-agius4
Copy link
Collaborator

Closed via #30063

@SymbioticKilla
Copy link

Hi @alan-agius4 ,

Angular 18 should be also updated from 5.4.16 to 5.4.17.
Thanks!

@alan-agius4
Copy link
Collaborator

@SymbioticKilla, yeah I am working on that.

@prajapatijay95
Copy link
Author

@alan-agius4 When can we expect the new version that includes these changes?

@alan-agius4
Copy link
Collaborator

It should be released on NPM later today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: @angular/build freq1: low Only reported by a handful of users who observe it rarely severity6: security type: bug/fix
Projects
None yet
Development

No branches or pull requests

4 participants