Fix Dependabot alerts in car-sales-website sample#105
Merged
Conversation
- Bumped webpack-dev-server override 5.2.4 -> 5.2.5 (HMR WebSocket interception) - Added http-proxy-middleware 3.0.7 override (CRLF field injection + host routing bypass) - Added piscina 5.2.0 override (prototype pollution -> RCE) - npm audit: 0 vulnerabilities; ng build passes Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
tyaginidhi
approved these changes
Jun 29, 2026
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.
Why
The Angular
car-sales-websitesample had 5 open Dependabot alerts (2 high, 3 medium) from transitive dev dependencies. Although these packages only run during local development/build, leaving known CVEs unresolved keeps the alerts noisy and risks the sample shipping vulnerable code to anyone who clones it.What changed
All five issues are transitive, so the fix is contained to the
overridesblock insamples/spa/angular/car-sales-website/package.jsonplus the regenerated lock file:webpack-dev-server5.2.4 -> 5.2.5 (HMR WebSocket interception via permissive proxies)http-proxy-middleware-> 3.0.7 (CRLF field injection infixRequestBody; host+path routing bypass) — covers alerts #464, #466, #467piscina-> 5.2.0 (prototype pollution gadget to RCE) — alert #463The single
http-proxy-middleware3.0.7 override forces all consumers, including webpack-dev-server, onto the patched 3.x line; npm dedupes it cleanly so there's no duplicate install.Verification
npm auditreports 0 vulnerabilitiesng buildsucceeds; only the pre-existing bundle-budget and missing-stylesheet warnings remain