Repository navigation
fix(deps): patch sharp and postcss-selector-parser advisories - #385
Merged
Merged
Conversation
Dependabot alerts 44 and 42. - sharp 0.35.4 -> 0.35.5 for GHSA-wq5f-xc86-pv6w (high: the librsvg bundled with sharp's libvips, CVE-2026-96889). Next 16.3.6 declares ^0.35.4, so raise the existing override's floor from ^0.35.0. The libvips platform packages move 1.3.3 -> 1.3.4 with it. Reaches runtime only in the Docker image's Node rollback; the Rust image and the desktop app ship no node_modules. - postcss-selector-parser 7.1.4 -> 7.1.6 for GHSA-rj75-hqrm-r3gf (medium: quadratic flat-selector parsing). Dev only, through Storybook's css-loader; added as a v7-scoped floor beside the other build-tooling patch floors. The lockfile changes only these packages. sharp 0.35.5 loads and renders SVG (libvips 8.18.7, librsvg 2.63.2); pnpm build and pnpm build-storybook pass; pnpm audit --prod is clean. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 8, 2026
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.
Fixes the two open Dependabot alerts.
sharppostcss-selector-parserChange
Both packages come in indirectly, so the fix goes in
pnpm-workspace.yamloverrides, the same way earlier advisory fixes (source-map-js,nanoid) were done:sharp: the existing override's floor moves^0.35.0→^0.35.5. Next 16.3.6 declares^0.35.4, which kept the lockfile on 0.35.4. Its comment now says when to drop it.postcss-selector-parser@7: a new floor of^7.1.6, scoped to the v7 line, in the build-tooling security floors section.The lockfile changes only
sharp, its@img/*platform packages (bundled libvips 1.3.3 → 1.3.4), andpostcss-selector-parser.package.jsonis unchanged.Verification
pnpm buildandpnpm build-storybookpass.pnpm install --frozen-lockfilepasses.pnpm audit --prodreports no known vulnerabilities.Not fixed here
pnpm audit(dev) still reports two Storybook-only findings:elliptic(GHSA-848j-6mx2-7j84) is already tracked indocs/DEPENDENCY-SECURITY.md.braces(GHSA-vfj7-8cjw-p6xm, through Storybook's micromatch) names 3.0.4 as the fix, but no such release exists; 3.0.3 is the newest on npm. Dependabot has not raised it yet.🤖 Generated with Claude Code