Skip to content

Angular 19 depends on vulnerable version of Vite #30056

Closed

Description

@prajapatijay95

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

Activity

  1. murugan-h commented on Apr 8, 2025

    @murugan-h

    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

  2. added a commit that references this issue on Apr 8, 2025
    3b33983
  3. added
    freq1: low
    on Apr 8, 2025
  4. added theissue type on Apr 8, 2025
  5. added a commit that references this issue on Apr 8, 2025
    71537c8
  6. alan-agius4 commented on Apr 8, 2025

    @alan-agius4
    Collaborator

    Closed via #30063

  7. SymbioticKilla commented on Apr 8, 2025

    @SymbioticKilla

    Hi @alan-agius4 ,

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

  8. alan-agius4 commented on Apr 8, 2025

    @alan-agius4
    Collaborator

    @SymbioticKilla, yeah I am working on that.

  9. added 2 commits that reference this issue on Apr 9, 2025
    d55aa6a
    c71beb8
  10. prajapatijay95 commented on Apr 9, 2025

    @prajapatijay95
    Author

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

  11. alan-agius4 commented on Apr 9, 2025

    @alan-agius4
    Collaborator

    It should be released on NPM later today.

  12. added 2 commits that reference this issue on Apr 9, 2025
    4245ca7
    fce6156
  13. angular-automatic-lock-bot commented on May 10, 2025

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  14. locked and limited conversation to collaborators on May 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: @angular/buildfreq1: lowseverity6: securitytype: bug/fix

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions