Skip to content

fix: resolve cross-spawn 7.0.6 and terser 5.39.2 - #1138

Merged
thomaswhyyou merged 1 commit into
mainfrom
cjbell-javascript-security-vulnerabilities-b20f
Dec 2, 2026
Merged

thomaswhyyou merged 1 commit into
mainfrom
cjbell-javascript-security-vulnerabilities-b20f

Conversation

@cursor

@cursor cursor Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Description

The 2026-12-02 Vanta scan of the javascript repository reports four open findings. This PR patches the two that have a release inside the ranges already requested.

  • cross-spawn 7.0.6 → 7.1.2 — CVE-2026-137199 (critical). On Windows, arguments passed to a batch file outside node_modules/.bin can be parsed a second time by cmd.exe. 7.1.2 is the latest 7.x release and stays inside every ^7.0.x request. KNO-17285
  • terser 5.39.2 → 5.51.4 — CVE-2026-140012 (medium). An input source map's sourcesContent was copied into the output map even when includeSources is false. metro-minify-terser requests ^5.15.0, and 5.51.4 is inside that range. KNO-17286

Two findings stay open because there is still no compatible upgrade:

  • minimatch 10.2.6 — CVE-2026-140006 (medium). The only patch is 11.0.8 or later. @expo/fingerprint@0.21.10 still requests ^10.2.6, and Expo declined minimatch 11 because it changes fingerprint hashes. KNO-17287
  • yargs 17.7.2 — AIKIDO-2026-922647 (low). 17.7.3 does not include the fix, and 18.2.0 is ESM-only. Metro still calls require("yargs"). KNO-16335

Todos

None.

Checklist

  • Existing unit tests were run after the lockfile update (91 files, 1118 tests). No new tests were added; this only changes dependency resolutions.
Open in Web View Automation 

Resolve cross-spawn ^7 to 7.1.2 for CVE-2026-137199 and terser ^5.15.0 to 5.51.4 for CVE-2026-140012. Leave minimatch 10.2.6 and yargs 17.7.2 in place because there is no compatible upgrade.

Co-authored-by: Chris Bell <chris@cjbell.co>
@cursor
cursor Bot requested a review from a team as a code owner December 2, 2026 12:14
@cursor
cursor Bot requested review from MikeCarbone and andy-knock and removed request for a team December 2, 2026 12:14
@vercel

vercel Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
javascript-ms-teams-connect-example Ready Ready Preview Dec 2, 2026 12:16pm UTC
javascript-nextjs-example Ready Ready Preview Dec 2, 2026 12:16pm UTC
javascript-slack-connect-example Ready Ready Preview Dec 2, 2026 12:16pm UTC
javascript-slack-kit-example Ready Ready Preview Dec 2, 2026 12:16pm UTC

Request Review

@changeset-bot

changeset-bot Bot commented Dec 2, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: d2ea46e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@linear-code

linear-code Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

@codecov

codecov Bot commented Dec 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.63%. Comparing base (a0237b9) to head (d2ea46e).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1138   +/-   ##
=======================================
  Coverage   78.63%   78.63%           
=======================================
  Files         142      142           
  Lines        4540     4540           
  Branches     1319     1319           
=======================================
  Hits         3570     3570           
  Misses        873      873           
  Partials       97       97           

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is a dependency resolution update with CI green, but GitHub does not allow this automation to approve its own pull request. Human review is needed and no reviewers were assigned.

Open in Web View Automation 

Sent by Cursor Approval Agent: SDK approver

@thomaswhyyou
thomaswhyyou merged commit c9108fc into main Dec 2, 2026
15 checks passed
@thomaswhyyou
thomaswhyyou deleted the cjbell-javascript-security-vulnerabilities-b20f branch December 2, 2026 16:15

This branch was successfully deployed

4 active deployments
Preview – javascript-nextjs-example — d2ea46e4 Deployed Dec 2, 2026 by vercel[bot]
Preview – javascript-slack-kit-example — d2ea46e4 Deployed Dec 2, 2026 by vercel[bot]
Preview – javascript-ms-teams-connect-example — d2ea46e4 Deployed Dec 2, 2026 by vercel[bot]
Preview – javascript-slack-connect-example — d2ea46e4 Deployed Dec 2, 2026 by vercel[bot]
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