Skip to content

fix(root): pin postcss to 8.5.12 to address CVE-2026-45623#9342

Merged
sachushaji merged 1 commit into
masterfrom
sachu/fix-postcss-ghsa-6g55
Jul 23, 2026
Merged

fix(root): pin postcss to 8.5.12 to address CVE-2026-45623#9342
sachushaji merged 1 commit into
masterfrom
sachu/fix-postcss-ghsa-6g55

Conversation

@sachushaji

Copy link
Copy Markdown
Contributor

Why

Publish run #2895 failed at the Enforce Vulnerability Severity Threshold gate:

1 of 37 advisory group(s) at or above CVSS 7.0 (HIGH/CRITICAL)

The blocking finding is postcss@8.5.10 — GHSA-6g55-p6wh-862q / CVE-2026-45623 (CVSS 7.5 HIGH): arbitrary file read + information disclosure via attacker-controlled sourceMappingURL in CSS comments. Published to the GitHub Advisory DB 2026-07-23 (today), which is why the previously green release started failing.

What

  • Pin postcss to 8.5.12 (first patched version) in root resolutions and overrides, consistent with prior security pins (fast-uri, protobufjs, webpack).
  • Surgical yarn.lock update for the single postcss entry. All existing ranges (^8.2.14^8.5.6) admit 8.5.12, so this is a patch-level bump.

Verification

  • yarn install --frozen-lockfile passes with the updated lockfile
  • No postcss <= 8.5.11 entries remain in yarn.lock
  • postcss is dev-tooling here (webpack/css pipeline), no runtime signing/wallet code affected

GHSA-6g55-p6wh-862q (CVSS 7.5 HIGH): postcss <=8.5.11 arbitrary file
read and information disclosure via attacker-controlled
sourceMappingURL in CSS comments. Published to the GitHub Advisory
DB 2026-07-23, which caused the osv-severity-gate to fail publish
run #2895. All existing postcss ranges (^8.2.14..^8.5.6) admit
8.5.12, so this is a patch-level pin via root resolutions/overrides,
consistent with prior security pins (e.g. fast-uri, protobufjs).
@sachushaji
sachushaji requested a review from a team as a code owner July 23, 2026 17:07
@sachushaji
sachushaji requested a review from Copilot July 23, 2026 18:00

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Pins postcss to a patched version at the repo root to unblock releases failing the vulnerability severity gate due to CVE-2026-45623 / GHSA-6g55-p6wh-862q. This is a dependency-management change affecting the build/tooling dependency graph (via lockfile + root overrides), not runtime signing/wallet logic.

Changes:

  • Add a root pin for postcss@8.5.12 in package.json under both resolutions and overrides.
  • Update yarn.lock so all postcss ranges resolve to 8.5.12 (single entry updated).

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
package.json Pins postcss to 8.5.12 via root resolutions and overrides to force the patched version across the dependency tree.
yarn.lock Updates the locked postcss artifact to 8.5.12 (resolved URL + integrity), ensuring installs pick up the patched version.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sachushaji
sachushaji merged commit 25e90cb into master Jul 23, 2026
38 of 41 checks passed
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.

3 participants