fix: override preact to 10.28.2 to resolve JSON VNode Injection vulnerability (CVE-2026-22028) #1572
+10
−14
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.
Description
Resolves Dependabot alert #402 — Preact JSON VNode Injection (CVE-2026-22028, GHSA-36hm-qxxp-pg3m, severity: high).
preactis a transitive dependency pulled in by@coinbase/wallet-sdk(via@dynamic-labs/ethereum,@privy-io/react-auth). The vulnerable range is>= 10.28.0, < 10.28.2. Since it's not a direct dependency, a pnpm override is used to pin allpreactresolutions to10.28.2.The override also bumps
preact@10.24.2(used by@base-org/accountvia@reown/appkit-utils) to10.28.2. This is a minor version bump for that consumer (10.24 → 10.28), not just a patch. The 10.24.2 version was outside the vulnerable range, but the blanket override consolidates both versions. Please verify CI passes cleanly — if there are runtime issues in the wallet quickstart app (which uses@reown/appkit), a scoped override like"@coinbase/wallet-sdk>preact": "10.28.2"may be preferable instead.Test plan
pnpm lint— passespnpm test:vitest— all 11 test suites passPackage updates
preact:10.24.2/10.28.0→10.28.2(via pnpm override)Link to Devin run: https://crossmint.devinenterprise.com/sessions/60ab00d1319f460d9a52407b624d7e48
Requested by: @soinclined