Skip to content

Fix security vulnerabilities (npm, rubygems)#265

Merged
Kristopher Johnson (kristopherjohnson) merged 2 commits intomainfrom
kj/security-batch-20260417-1e7e60
Apr 17, 2026
Merged

Fix security vulnerabilities (npm, rubygems)#265
Kristopher Johnson (kristopherjohnson) merged 2 commits intomainfrom
kj/security-batch-20260417-1e7e60

Conversation

@kristopherjohnson
Copy link
Copy Markdown
Collaborator

Summary

Patches 4 high-severity dependency vulnerabilities across javascript-web, javascript-tui, and react-native.

  • vite → 6.4.2 (CVE-2026-39363) — javascript-web/package-lock.json
  • lodash → 4.18.1 (CVE-2026-4800) — javascript-tui/package-lock.json (added to overrides to reach transitive via ink; resolved to latest 4.18.1, above the 4.18.0 target)
  • @xmldom/xmldom → 0.8.12 (CVE-2026-34601) — react-native/yarn.lock
  • addressable → 2.9.0 (CVE-2026-35611) — react-native/Gemfile.lock

Target versions are sourced from Linear/Dependabot and may not reflect the latest suitable release — lodash resolved to 4.18.1 (latest ≥ 4.18.0 target) through npm's override mechanism.

Test plan

  • CI passes
  • No new high/critical vulnerabilities in affected lockfiles
  • javascript-web builds (npm run build)
  • javascript-tui builds (npm run build)
  • react-native installs (yarn install)
  • react-native pod install succeeds (bundle exec pod install)

Resolves: SPO-470, SPO-471, SPO-388, SPO-495

- vite → 6.4.2 (CVE-2026-39363) in javascript-web/package-lock.json
- lodash → 4.18.1 (CVE-2026-4800) in javascript-tui/package-lock.json (via overrides)
- @xmldom/xmldom → 0.8.12 (CVE-2026-34601) in react-native/yarn.lock
- addressable → 2.9.0 (CVE-2026-35611) in react-native/Gemfile.lock

Resolves: SPO-470, SPO-471, SPO-388, SPO-495
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates dependency lockfiles/manifests across the JS web app, JS TUI, and React Native projects to remediate reported high-severity vulnerabilities.

Changes:

  • Bump vite in javascript-web to ^6.4.2 and refresh package-lock.json accordingly.
  • Force lodash upgrade in javascript-tui via overrides, updating the resolved version in package-lock.json to 4.18.1.
  • Upgrade @xmldom/xmldom in react-native/yarn.lock and addressable in react-native/Gemfile.lock.

Reviewed changes

Copilot reviewed 2 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
react-native/yarn.lock Updates @xmldom/xmldom resolution to address the referenced CVE.
react-native/Gemfile.lock Bumps addressable (and adjusts its public_suffix constraint) to remediate the advisory.
javascript-web/package.json Updates vite version range to ^6.4.2.
javascript-web/package-lock.json Updates the resolved vite version to 6.4.2 and refreshes related lock metadata.
javascript-tui/package.json Adds a lodash override to force a patched transitive version.
javascript-tui/package-lock.json Updates the resolved lodash package to 4.18.1.
Files not reviewed (2)
  • javascript-tui/package-lock.json: Language not supported
  • javascript-web/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread javascript-tui/package.json Outdated
Matches the existing pattern for other overrides (tar, undici,
flatted) and prevents drift to a future lodash release.
@kristopherjohnson Kristopher Johnson (kristopherjohnson) merged commit 0602813 into main Apr 17, 2026
11 checks passed
@kristopherjohnson Kristopher Johnson (kristopherjohnson) deleted the kj/security-batch-20260417-1e7e60 branch April 17, 2026 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants