Skip to content

@angular-devkit/build-angular v18.2.12 has vulnerable dependency #29464

Closed
@mkoncz

Description

@mkoncz

Command

build

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

@angular-devkit/build-angular package with version v18.2.12 has a direct dependency in its package.json config: "vite": "5.4.6"

We can see in the Mend vulnerability database that the vite versions of from the 5.4.x series under 5.4.12 are vulnerable:
https://www.mend.io/vulnerability-database/CVE-2025-24010

The patch version of "vite" in the package.json of @angular-devkit/build-angular should be increased.

Minimal Reproduction

Command: ng build

package.json

 "devDependencies": {
    "@angular-devkit/build-angular": "~18.2.12",
    ...
 }

package-lock.json

 "node_modules/@angular/build": {
      "version": "18.2.12",
         "dependencies": {
             "vite": "5.4.6",
              ...
          },
       ....
  }

Exception or Error


Your Environment

Angular CLI: 18.2.12
Node: 18.20.4
Package Manager: npm 10.7.0
OS: darwin arm64

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

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1802.12
@angular-devkit/build-angular   18.2.12
@angular-devkit/core            18.2.12
@angular-devkit/schematics      18.2.12
@angular/cdk                    18.2.14
@angular/cli                    18.2.12
@schematics/angular             18.2.12
rxjs                            7.8.1
typescript                      5.5.4
zone.js                         0.14.10

Anything else relevant?

No response

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions