fix: update Angular to 21.2.x to resolve XSS vulnerability (GHSA-g93w-mfhg-p222)#7
Merged
Merged
Conversation
…-mfhg-p222) Bumps Angular packages from 21.1.x to 21.2.x to resolve a new XSS vulnerability in i18n attribute bindings affecting @angular/compiler <= 21.2.3. Also updates the transitive vite override from 7.1.11 to ^7.3.2 to clear three related high-severity advisories in the build toolchain (path traversal, server.fs.deny bypass, dev-server WebSocket arbitrary file read). These only affect development; production bundles are unaffected. Brings `npm audit` back to zero vulnerabilities. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
GHSA-g93w-mfhg-p222(XSS in i18n attribute bindings,affecting
@angular/compiler<= 21.2.3).viteoverride from7.1.11to^7.3.2to clear three related high-severity advisoriesaffecting only the dev toolchain (path traversal,
server.fs.denybypass, dev-server WebSocket arbitrary file read).package-lock.jsonfrom package.json to pick up the latest within-range transitive versions.Test plan
npm audit --audit-level=moderate— 0 vulnerabilities (was 32)ng test ngx-dashboard— 473/473 passng test ngx-dashboard-widgets— 142/142 passng test demo— 33/33 passnpm run lint— all 3 projects clean