Skip to content

fix: update Angular to 21.2.x to resolve XSS vulnerability (GHSA-g93w-mfhg-p222)#7

Merged
TobyBackstrom merged 1 commit into
mainfrom
fix/angular-xss-21.2
Apr 19, 2026
Merged

fix: update Angular to 21.2.x to resolve XSS vulnerability (GHSA-g93w-mfhg-p222)#7
TobyBackstrom merged 1 commit into
mainfrom
fix/angular-xss-21.2

Conversation

@TobyBackstrom
Copy link
Copy Markdown
Owner

Summary

  • Bumps Angular packages from 21.1.x to 21.2.x to clear GHSA-g93w-mfhg-p222 (XSS in i18n attribute bindings,
    affecting @angular/compiler <= 21.2.3).
  • Updates the transitive vite override from 7.1.11 to ^7.3.2 to clear three related high-severity advisories
    affecting only the dev toolchain (path traversal, server.fs.deny bypass, dev-server WebSocket arbitrary file read).
  • Regenerated package-lock.json from 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 pass
  • ng test ngx-dashboard-widgets — 142/142 pass
  • ng test demo — 33/33 pass
  • npm run lint — all 3 projects clean
  • CI matrix (Node 18.x / 20.x)

…-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>
@TobyBackstrom TobyBackstrom merged commit c7c2d2c into main Apr 19, 2026
1 check passed
@TobyBackstrom TobyBackstrom deleted the fix/angular-xss-21.2 branch April 19, 2026 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant