Skip to content

[auto-sec] frontend deps: postcss>=8.5.23, brace-expansion>=5.0.9, mermaid 11.16.1 - #1431

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

[auto-sec] frontend deps: postcss>=8.5.23, brace-expansion>=5.0.9, mermaid 11.16.1#1431
David Pine (IEvangelist) wants to merge 3 commits into
mainfrom
dapire/security-deps/aspire-dev-npm-frontend

Conversation

@IEvangelist

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

Copy link
Copy Markdown
Member

Canonical security remediation — aspire.dev frontend (src/frontend)

Cluster: frontend npm/pnpm transitive + direct advisories (single canonical PR for the src/frontend pnpm workspace).
Branch: dapire/security-deps/aspire-dev-npm-frontend · Label: automated-security

Alerts addressed

# Package Severity GHSA Fixed by
#110 mermaid medium GHSA-3rrr-jr9j-h3q3 (Architecture diagram prototype pollution) 11.16.1
#111 mermaid medium GHSA-rhh3-jpg6-66xh (radar diagram DoS) 11.16.1
#112 mermaid medium GHSA-6x64-9x62-f2gx (CSS injection) 11.16.1
#113 mermaid medium GHSA-2v8p-3f2j-5mp7 (XY chart infinite-loop DoS) 11.16.1
#114 mermaid low GHSA-c4c3-pg64-4m4v (config API prototype pollution) 11.16.1
postcss postcss GHSA-fxqj-rqcc-2cmp family pnpm override >=8.5.23
brace-expansion brace-expansion GHSA-rgw5-rvv9-x895 pnpm override >=5.0.9

Versions changed

  • src/frontend/package.json: mermaid ^11.16.0 → ^11.16.1.
  • src/frontend/pnpm-workspace.yaml overrides: brace-expansion@<5.0.9 → >=5.0.9, postcss@<8.5.23 → >=8.5.23.
  • src/frontend/pnpm-lock.yaml: regenerated resolutions — mermaid 11.16.1 (+ transitive @shikijs/core@4.4.2, @napi-rs/wasm-runtime@1.2.2), postcss 8.5.25, brace-expansion 5.0.9.

Verification

  • Rebased onto latest upstream main (freshness).
  • Mermaid change folded from Dependabot chore(deps): bump mermaid from 11.16.0 to 11.16.1 in /src/frontend #1453 (cherry-pick); lock conflicts resolved keeping the override-consistent postcss/brace-expansion resolutions. No conflict markers; pnpm-lock.yaml validated as YAML; importer resolves mermaid@11.16.1.
  • CI: re-running after force-push (fold). Terminal target: mergeable + green.

Supersedes / folds


Automation-owned canonical PR. [auto-sec] = active canonical remediation for this cluster.

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 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'
@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.

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>
Bumps [mermaid](https://github.com/mermaid-js/mermaid) from 11.16.0 to 11.16.1.
- [Release notes](https://github.com/mermaid-js/mermaid/releases)
- [Commits](https://github.com/mermaid-js/mermaid/compare/mermaid@11.16.0...mermaid@11.16.1)

---
updated-dependencies:
- dependency-name: mermaid
  dependency-version: 11.16.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@IEvangelist
David Pine (IEvangelist) force-pushed the dapire/security-deps/aspire-dev-npm-frontend branch from 8021819 to a09ac75 Compare August 8, 2026 11:27
@IEvangelist David Pine (IEvangelist) changed the title [auto-sec] frontend: postcss>=8.5.23 & brace-expansion>=5.0.9 (GHSA-fxqj-rqcc-2cmp, GHSA-rgw5-rvv9-x895) [auto-sec] frontend deps: postcss>=8.5.23, brace-expansion>=5.0.9, mermaid 11.16.1 Aug 8, 2026
…um-release-age policy

postcss>=8.5.23 pulled nanoid@3.3.18 (published <24h ago), tripping
ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION in frontend-build. nanoid has no
open advisory; pin to 3.3.16 (matches main, satisfies postcss ^3.3.11).

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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