Commit 6ba86bc
authored
fix(deps): address security vulnerabilities in vite, picomatch, and defu (#791)
## Summary
Resolve 10 open Dependabot alerts (5 high, 5 medium) across 3 transitive
dependencies.
- **vite**: 7.3.0 → 7.3.2 (main), 6.4.1 → 6.4.2 (docs) — arbitrary file
read via WebSocket, `server.fs.deny` bypass, path traversal in `.map`
handling
- **picomatch**: 2.3.1 → 2.3.2 (pnpm override), 4.0.3 → 4.0.4 — ReDoS
via extglob quantifiers, method injection in POSIX character classes
- **defu**: 6.1.4 → 6.1.7 (pnpm override in docs) — prototype pollution
via `__proto__` key
## Approach
- Added `"picomatch@<3": "^2.3.2"` override in `package.json` — the 2.x
line is pinned deep in `@sentry/esbuild-plugin` → `unplugin@1.0.1` →
`chokidar` and can't be bumped via direct deps
- Added `"defu": "^6.1.5"` override in `docs/package.json` — locked via
`astro` → `unstorage` → `h3` → `defu`
- vite and picomatch 4.x resolved naturally via lockfile regeneration
(existing semver ranges permit the patched versions)
## CVEs addressed
CVE-2026-39363, CVE-2026-39364, CVE-2026-39365, CVE-2026-33671,
CVE-2026-33672, CVE-2026-352091 parent f081abe commit 6ba86bc
File tree
4 files changed
+148
-144
lines changed- docs
4 files changed
+148
-144
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
| 111 | + | |
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
0 commit comments