fix: pin postcss to 8.5.10 via overrides to resolve GHSA-qx2v-qp2m-jg93#145
Merged
Conversation
zaccesss
enabled auto-merge
June 15, 2026 12:43
auto-merge was automatically disabled
June 15, 2026 12:49
Pull request was closed
next bundles its own postcss < 8.5.10 internally; npm overrides forces deduplication to the patched version without downgrading next. npm audit --omit=dev now reports 0 vulnerabilities. Closes #141
zaccesss
force-pushed
the
fix/frontend-postcss
branch
from
June 15, 2026 12:55
502d179 to
4699e75
Compare
zaccesss
enabled auto-merge
June 15, 2026 12:56
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
nextbundles its ownpostcss < 8.5.10internally, which triggered GHSA-qx2v-qp2m-jg93 (XSS via unescaped</style>in CSS stringify output)"overrides": { "postcss": "8.5.10" }tofrontend/package.jsonso npm deduplicates the bundled version without downgrading nextnpm audit --omit=devnow reports 0 vulnerabilitiesCHANGELOG.mdunder[Unreleased] ### Securitynpm audit fix --forcewas deliberately not used as it would downgrade next to 9.3.3 (a major breaking change).Closes #141
Test plan
npm audit --omit=devreports 0 in CI