web: pin postcss >= 8.5.10 to resolve moderate XSS advisory - #8
Merged
Conversation
postcss is pulled transitively by next@16.2.9 at 8.4.31, which is affected by GHSA (XSS via unescaped </style> in CSS stringify output, fixed in 8.5.10). An npm overrides entry forces a patched 8.x. npm audit now reports 0 vulnerabilities and the production build is unchanged.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Resolves the open Dependabot alert:
postcss < 8.5.10(moderate, XSS via unescaped</style>in CSS stringify output).postcssis pulled transitively bynext@16.2.9at 8.4.31, so it can't be bumped via a direct dependency. This adds an npmoverridesentry pinning a patched 8.x (resolves to 8.5.15).npm audit: 0 vulnerabilities (was 2 moderate)This is the first PR through the new branch protection — required checks (App tests, Web build, gitleaks) must pass before merge.