Skip to content

Commit 6ba86bc

Browse files
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-35209
1 parent f081abe commit 6ba86bc

File tree

4 files changed

+148
-144
lines changed

4 files changed

+148
-144
lines changed

docs/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
"devalue": "^5.6.4",
1919
"rollup": "^4.59.0",
2020
"svgo": "^4.0.1",
21-
"smol-toml": "^1.6.1"
21+
"smol-toml": "^1.6.1",
22+
"defu": "^6.1.5"
2223
}
2324
}
2425
}

docs/pnpm-lock.yaml

Lines changed: 12 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@
107107
"minimatch": "^10.2.1",
108108
"ajv@<6.14.0": "^6.14.0",
109109
"rollup": "^4.59.0",
110-
"flatted": "^3.4.2"
110+
"flatted": "^3.4.2",
111+
"picomatch@<3": "^2.3.2"
111112
}
112113
}
113114
}

0 commit comments

Comments
 (0)