Skip to content

[auto-sec] frontend: postcss>=8.5.23 & brace-expansion>=5.0.9 (GHSA-fxqj-rqcc-2cmp, GHSA-rgw5-rvv9-x895) - #1431

Open
David Pine (IEvangelist) wants to merge 1 commit into
mainfrom
dapire/security-deps/aspire-dev-npm-frontend
Open

[auto-sec] frontend: postcss>=8.5.23 & brace-expansion>=5.0.9 (GHSA-fxqj-rqcc-2cmp, GHSA-rgw5-rvv9-x895)#1431
David Pine (IEvangelist) wants to merge 1 commit into
mainfrom
dapire/security-deps/aspire-dev-npm-frontend

Conversation

@IEvangelist

@IEvangelist David Pine (IEvangelist) commented Aug 6, 2026

Copy link
Copy Markdown
Member

[auto-sec] canonical — aspire.dev frontend dependency security

Consolidated remediation for the open Dependabot alerts in src/frontend.

Alerts addressed

# Package Sev Advisory Fixed in This PR
#108 brace-expansion HIGH GHSA-rgw5-rvv9-x895 — DoS via unbounded intermediate arrays >=5.0.9 5.0.8 → 5.0.9
#109 postcss MEDIUM GHSA-fxqj-rqcc-2cmp — arbitrary .map read via sourceMappingURL >=8.5.23 8.5.20 → 8.5.25

Changes

  • src/frontend/pnpm-workspace.yaml: raised override floors brace-expansion@<5.0.9: '>=5.0.9' and postcss@<8.5.23: '>=8.5.23'.
  • src/frontend/pnpm-lock.yaml: refreshed entries only for the two packages above. No other package versions changed.

Verification

  • Lockfile verified: only postcss@8.5.25 and brace-expansion@5.0.9 present for these packages; public sha512 integrity; transitive deps unchanged. Full frozen-install/build via CI (currently green).

Superseded / tracked

Canonical automation PR. Branch: dapire/security-deps/aspire-dev-npm-frontend. Label: automated-security.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Security-focused frontend dependency remediation for src/frontend by raising pnpm override floors and refreshing the lockfile to pick up patched versions.

Changes:

  • Updated pnpm overrides to require brace-expansion >= 5.0.9 and postcss >= 8.5.23.
  • Refreshed pnpm-lock.yaml to resolve brace-expansion@5.0.9 and postcss@8.5.25 (and additional transitive updates as reflected in the lockfile diff).

Reviewed changes

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

File Description
src/frontend/pnpm-workspace.yaml Raises override minimums for brace-expansion and postcss to address the advisories.
src/frontend/pnpm-lock.yaml Lockfile refresh reflecting the new overrides and updated resolved package versions.
Files not reviewed (1)
  • src/frontend/pnpm-lock.yaml: Generated file

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

Comment thread src/frontend/pnpm-lock.yaml Outdated
Comment on lines 2889 to 2893
lightningcss-android-arm64@1.33.0:
resolution: {integrity: sha512-gEpRTalKdosp4Bb8qWtc2iOgE5SeIHlpS1up9bFq2wAyYhl1UdTObYiHe98zEM9SQvSoqQZ1IQD0JNpg3Ml5pg==}
engines: {node: '>= 12.0.0'}
cpu: [arm64]
os: [android]
Comment on lines 7 to +11
overrides:
'@anthropic-ai/claude-code@<2.0.31': '>=2.0.31'
'@cacheable/memory@2.2.1': 2.2.0
'@cacheable/net@2.1.1': 2.1.0
'@cacheable/node-cache@3.1.2': 3.1.1
'@cacheable/utils@2.5.1': 2.5.0
ajv@<6.14.0: 6.14.0
ajv@>=7.0.0-alpha.0 <8.18.0: 8.18.0
brace-expansion@<5.0.8: '>=5.0.8'
cache-manager@7.2.10: 7.2.9
cacheable-request@13.0.20: 13.0.19
cacheable@2.5.1: 2.5.0
brace-expansion@<5.0.9: '>=5.0.9'
Raise pnpm override floors and refresh the lockfile to clear two open
Dependabot alerts in src/frontend:

- brace-expansion 5.0.8 -> 5.0.9 (HIGH, GHSA-rgw5-rvv9-x895): DoS via
  unbounded intermediate arrays (bypasses CVE-2026-14257 mitigation).
- postcss 8.5.20 -> 8.5.25 (MEDIUM, GHSA-fxqj-rqcc-2cmp): arbitrary
  .map read via attacker-controlled sourceMappingURL when from unset.

Lockfile changes folded from Dependabot #1423 (postcss) plus the
isolated brace-expansion entry from #1421; no other package versions
changed. Override floors in pnpm-workspace.yaml match the lock.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@IEvangelist
David Pine (IEvangelist) force-pushed the dapire/security-deps/aspire-dev-npm-frontend branch from 748fc94 to 8021819 Compare August 6, 2026 12:13
@aspire-repo-bot

Copy link
Copy Markdown
Contributor

Frontend HTML artifact ready

The latest frontend build uploaded the frontend-dist artifact for PR #1431. Use the VS Code button below to open this PR with GitHub Artifacts Explorer and browse the built HTML locally.

VS Code: Open PR #1431 artifacts

This comment updates automatically when a new frontend build artifact is uploaded.

@adamint Adam Ratzman (adamint) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Verified the pinned pnpm install, all 312 unit tests, and the full 13,958-page site build. Both advisory paths resolve to the patched versions, the lock stays stable under the pinned install, and the targeted brace-expansion/postcss behavior checks passed. Looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated-security Automated security dependency management PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants