Skip to content

chore(deps): bump vite to 7.3.8 for CVE-2026-140097 - #71

Merged
pedrobpereira merged 2 commits into
mainfrom
security/qa-65-vite-cve-2026-140097
Dec 2, 2026
Merged

pedrobpereira merged 2 commits into
mainfrom
security/qa-65-vite-cve-2026-140097

Conversation

@nfcodacy

@nfcodacy nfcodacy commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

The vite copy that vitest pulls in for tests resolved to 7.3.1, which is affected by CVE-2026-140097 (Vite dev server RCE via __vite-browser-external). Tracked in QA-65.

  • package-lock.json only: vite 7.3.1 → 7.3.8. Dev-only, nothing shipped changes.
  • The lockfile's own version also moves 1.14.0 → 1.15.0, catching up with package.json after the last release.

Verified locally: npm ls vite shows only 7.3.8; npm test (854 tests) and npm run build pass.

🤖 Generated with Claude Code

Refreshes the lockfile so the dev-only vite copy pulled in by vitest
resolves to 7.3.8, which fixes CVE-2026-140097 (QA-65).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

@codacy-production codacy-production Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

✅ No blocking issues noticed

No blocking findings were identified in the reviewed lockfile change.

Test suggestions

  • Verify that npm resolves only Vite 7.3.8 and no vulnerable Vite version remains in the dependency tree.
  • Run the existing test suite and production build after the lockfile update.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Verify that npm resolves only Vite 7.3.8 and no vulnerable Vite version remains in the dependency tree.
2. Run the existing test suite and production build after the lockfile update.

TIP How was this review? Give us feedback

The vite bump is dev-only and ships nothing, so it needs no version bump.
@pedrobpereira
pedrobpereira merged commit 82647f4 into main Dec 2, 2026
4 checks passed
@pedrobpereira
pedrobpereira deleted the security/qa-65-vite-cve-2026-140097 branch December 2, 2026 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants