Skip to content

chore(deps): update dependency tsup to v8.3.5 [security]#542

Open
svc-secops wants to merge 1 commit into
mainfrom
renovate/npm-tsup-vulnerability
Open

chore(deps): update dependency tsup to v8.3.5 [security]#542
svc-secops wants to merge 1 commit into
mainfrom
renovate/npm-tsup-vulnerability

Conversation

@svc-secops

@svc-secops svc-secops commented Mar 13, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
tsup (source) 8.0.28.3.5 age adoption passing confidence

tsup DOM Clobbering vulnerability

CVE-2024-53384 / GHSA-3mv9-4h5g-vhg3

More information

Details

A DOM Clobbering vulnerability in tsup v8.3.4 allows attackers to execute arbitrary code via a crafted script in the import.meta.url to document.currentScript in cjs_shims.js components

Severity

  • CVSS Score: 2.1 / 10 (Low)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Release Notes

egoist/tsup (tsup)

v8.3.5

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v8.3.4

Compare Source

No significant changes

    View changes on GitHub

v8.3.0

Compare Source

Bug Fixes
Features

v8.2.4

Compare Source

Bug Fixes

v8.2.3

Compare Source

Bug Fixes
  • get metafile on windows (048c93b)

v8.2.2

Compare Source

Bug Fixes
  • Revert "refactor: replace globby with faster alternative (#​1158)" (2de6dd5)

v8.2.1

Compare Source

Bug Fixes

v8.2.0

Compare Source

Features
  • add option to retain node protocol (e7ced34)

v8.1.2

Compare Source

Bug Fixes

v8.1.1

Compare Source

  • Upgrade bunch of dependencies (esbuild v0.23).

v8.1.0

Compare Source

Features

Configuration

📅 Schedule: (in timezone Etc/UTC)

  • Branch creation
    • ""
  • Automerge
    • "after 8am and before 4pm on tuesday"

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


This PR has been generated by Renovate Bot.

Summary by CodeRabbit

  • Chores
    • Updated build tool dependencies across multiple packages to enhance development infrastructure.

@svc-secops svc-secops requested a review from a team as a code owner March 13, 2026 15:29
@svc-secops svc-secops added dependencies Pull requests that update a dependency file vulnerability labels Mar 13, 2026
@svc-secops

svc-secops commented Mar 13, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: yarn.lock
➤ YN0000: · Yarn 4.9.1
➤ YN0000: ┌ Resolution step
➤ YN0085: │ + tsup@npm:8.3.5, @rollup/rollup-android-arm-eabi@npm:4.61.1, @rollup/rollup-android-arm64@npm:4.61.1, @rollup/rollup-darwin-arm64@npm:4.61.1, and 29 more.
➤ YN0085: │ - bundle-require@npm:4.0.2, sucrase@npm:3.35.0, tsup@npm:8.0.2
➤ YN0000: └ Completed in 2s 465ms
➤ YN0000: ┌ Post-resolution validation
➤ YN0060: │ @types/react is listed by your project with version 19.2.7 (peddff), which doesn't satisfy what react-focus-lock (via @chakra-ui/react) and other dependencies request (but they have non-overlapping ranges!).
➤ YN0060: │ @yarnpkg/core is listed by your project with version 4.2.0 (p4e948), which doesn't satisfy what @yarnpkg/cli and other dependencies request (^4.4.1).
➤ YN0060: │ graphql is listed by your project with version 17.0.0-alpha.2 (p1eb2e), which doesn't satisfy what @apollo/client and other dependencies request (^16.0.0).
➤ YN0060: │ graphql is listed by your project with version 17.0.0-alpha.2 (p1ecf7), which doesn't satisfy what @apollo/client and other dependencies request (^16.0.0).
➤ YN0060: │ graphql is listed by your project with version 17.0.0-alpha.2 (p2be3d), which doesn't satisfy what @apollo/client and other dependencies request (^16.0.0).
➤ YN0060: │ graphql is listed by your project with version 17.0.0-alpha.2 (p38093), which doesn't satisfy what @apollo/client and other dependencies request (^16.6.0).
➤ YN0060: │ graphql is listed by your project with version 17.0.0-alpha.2 (p4b3c5), which doesn't satisfy what @apollo/client and other dependencies request (^16.6.0).
➤ YN0060: │ graphql is listed by your project with version 17.0.0-alpha.2 (p74662), which doesn't satisfy what @apollo/client and other dependencies request (^16.0.0).
➤ YN0060: │ graphql is listed by your project with version 17.0.0-alpha.2 (p7c14e), which doesn't satisfy what @apollo/client and other dependencies request (^16.0.0).
➤ YN0060: │ graphql is listed by your project with version 17.0.0-alpha.2 (p9d845), which doesn't satisfy what @apollo/client and other dependencies request (^16.0.0).
➤ YN0060: │ graphql is listed by your project with version 17.0.0-alpha.2 (pa1182), which doesn't satisfy what @apollo/client and other dependencies request (^16.0.0).
➤ YN0060: │ graphql is listed by your project with version 17.0.0-alpha.2 (pc1d15), which doesn't satisfy what @apollo/client and other dependencies request (^16.0.0).
➤ YN0060: │ graphql is listed by your project with version 17.0.0-alpha.2 (pc49da), which doesn't satisfy what @apollo/client and other dependencies request (^16.0.0).
➤ YN0060: │ graphql is listed by your project with version 17.0.0-alpha.2 (pd4beb), which doesn't satisfy what @apollo/client and other dependencies request (^16.6.0).
➤ YN0060: │ graphql is listed by your project with version 17.0.0-alpha.2 (pd9955), which doesn't satisfy what @apollo/client and other dependencies request (^16.0.0).
➤ YN0060: │ graphql is listed by your project with version 17.0.0-alpha.2 (pf0659), which doesn't satisfy what @apollo/client and other dependencies request (^16.0.0).
➤ YN0060: │ next is listed by your project with version 16.0.8 (p27d9f), which doesn't satisfy what @as-integrations/next and other dependencies request (^15.2.3).
➤ YN0060: │ next is listed by your project with version 16.0.8 (pc1717), which doesn't satisfy what @as-integrations/next and other dependencies request (^15.2.3).
➤ YN0060: │ react is listed by your project with version 19.2.3 (pd410a), which doesn't satisfy what framer-motion and other dependencies request (but they have non-overlapping ranges!).
➤ YN0060: │ react is listed by your project with version 19.2.3 (pf06e9), which doesn't satisfy what ssr-only-secrets and other dependencies request (but they have non-overlapping ranges!).
➤ YN0060: │ react-dom is listed by your project with version 19.2.3 (p21a4c), which doesn't satisfy what framer-motion and other dependencies request (^18.2.0).
➤ YN0002: │ @apollo/client-integration-tanstack-start@workspace:packages/tanstack-start doesn't provide vite (p58222), requested by @tanstack/react-start.
➤ YN0002: │ @apollo/client-react-streaming@workspace:packages/client-react-streaming [fc55e] doesn't provide webpack (p25bda), requested by react-server-dom-webpack.
➤ YN0002: │ @apollo/client-react-streaming@workspace:packages/client-react-streaming doesn't provide webpack (p5ca41), requested by react-server-dom-webpack.
➤ YN0002: │ @integration-test/jest@workspace:integration-test/jest doesn't provide @testing-library/dom (p47416), requested by @testing-library/react and other dependencies.
➤ YN0002: │ @integration-test/vitest@workspace:integration-test/vitest doesn't provide @testing-library/dom (p1caec), requested by @testing-library/react.
➤ YN0002: │ @integration-test/vitest@workspace:integration-test/vitest doesn't provide vite (pc1d9a), requested by @vitejs/plugin-react.
➤ YN0002: │ @internal/test-utils@workspace:packages/test-utils doesn't provide @jest/globals (pc7d0f), requested by @testing-library/react-render-stream.
➤ YN0002: │ @internal/test-utils@workspace:packages/test-utils doesn't provide expect (p25412), requested by @testing-library/react-render-stream.
➤ YN0002: │ @internal/test-utils@workspace:packages/test-utils doesn't provide jsdom (p35d94), requested by global-jsdom.
➤ YN0002: │ monorepo@workspace:. doesn't provide webpack (p5bc50), requested by @size-limit/webpack-why.
➤ YN0002: │ packages-shared@workspace:packages doesn't provide typescript (p496ab), requested by @typescript-eslint/eslint-plugin and other dependencies.
➤ YN0086: │ Some peer dependencies are incorrectly met by your project; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code.
➤ YN0086: │ Some peer dependencies are incorrectly met by dependencies; run yarn explain peer-requirements for details.
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step

@changeset-bot

changeset-bot Bot commented Mar 13, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 751e6b0

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

@vercel

vercel Bot commented Mar 13, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
apollo__client-integration-react-router Error Error Jun 4, 2026 12:01pm
apollo__client-integration-tanstack-start Error Error Jun 4, 2026 12:01pm
apollo__experimental-nextjs-app-support Building Building Preview Jun 4, 2026 12:01pm

@netlify

netlify Bot commented Mar 13, 2026

Copy link
Copy Markdown

Deploy Preview for apollo-client-nextjs-docmodel failed.

Name Link
🔨 Latest commit 751e6b0
🔍 Latest deploy log https://app.netlify.com/projects/apollo-client-nextjs-docmodel/deploys/6a21676c412e7a0008b8ad1f

@coderabbitai

coderabbitai Bot commented Mar 13, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 25962a78-fa49-4564-9f1b-2570a871b1cd

📥 Commits

Reviewing files that changed from the base of the PR and between 06c937a and 751e6b0.

📒 Files selected for processing (4)
  • packages/client-react-streaming/package.json
  • packages/nextjs/package.json
  • packages/react-router/package.json
  • packages/tanstack-start/package.json
✅ Files skipped from review due to trivial changes (3)
  • packages/nextjs/package.json
  • packages/tanstack-start/package.json
  • packages/react-router/package.json
🚧 Files skipped from review as they are similar to previous changes (1)
  • packages/client-react-streaming/package.json

📝 Walkthrough

Walkthrough

Updates the tsup devDependency from version 8.0.2 to 8.3.5 across four package.json files in different packages. No functional changes, control flow modifications, or public API alterations.

Changes

tsup Dependency Upgrade

Layer / File(s) Summary
Upgrade tsup in packages
packages/client-react-streaming/package.json, packages/nextjs/package.json, packages/react-router/package.json, packages/tanstack-start/package.json
Bumps tsup devDependency from 8.0.2 to 8.3.5 across all listed packages. No other changes to dependencies, code, or exports.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and specifically describes the main change: updating the tsup dependency to v8.3.5 with a security-related motivation.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch renovate/npm-tsup-vulnerability

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai 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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@packages/nextjs/package.json`:
- Line 102: package.json was updated to require tsup@8.3.5 but the yarn.lock was
not regenerated; run a reproducible install to update the lockfile so CI passes:
update the lockfile by running yarn install (or yarn install --pure-lockfile)
from the repo root, ensure tsup@8.3.5 is present in yarn.lock, commit the
updated yarn.lock along with the package.json changes (affecting
packages/nextjs, packages/react-router, packages/tanstack-start,
packages/client-react-streaming) so yarn install --immutable succeeds in CI.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 475d9cd7-8927-456a-afc0-565456941539

📥 Commits

Reviewing files that changed from the base of the PR and between 43b0a18 and 06c937a.

📒 Files selected for processing (4)
  • packages/client-react-streaming/package.json
  • packages/nextjs/package.json
  • packages/react-router/package.json
  • packages/tanstack-start/package.json
📜 Review details
🔇 Additional comments (3)
packages/tanstack-start/package.json (1)

88-88: Same dependency-resolution blocker applies to this bump.

Line 88 is part of the same monorepo tsup upgrade set; keep this blocked until the lockfile/peer-resolution verification from the prior comment passes repo-wide.

packages/client-react-streaming/package.json (1)

167-167: Same dependency-resolution blocker applies to this bump.

Line 167 should ship with the rest of the tsup upgrades only after immutable install and peer checks are clean across the monorepo.

packages/react-router/package.json (1)

85-85: Same dependency-resolution blocker applies to this bump.

Line 85 participates in the same tsup upgrade batch; please merge only once lock/artifact and peer-resolution verification is passing for the repo.

"rimraf": "5.0.5",
"rxjs": "^7.8.2",
"tsup": "8.0.2",
"tsup": "8.3.5",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "1) Confirm all tsup bumps:"
rg -n '"tsup": "8\.3\.5"' --type-add 'json:*.json' --type json

echo "2) Confirm yarn.lock has tsup 8.3.5 resolution:"
rg -n 'tsup@npm:8\.3\.5|tsup@8\.3\.5' yarn.lock

echo "3) Validate immutable install (must pass):"
yarn install --immutable --mode=skip-build

echo "4) Print peer diagnostics for any remaining conflicts:"
yarn explain peer-requirements

Repository: apollographql/apollo-client-integrations

Length of output: 402


Update lockfile before merging.

The tsup@8.3.5 updates are present in package.json files (packages/nextjs, packages/react-router, packages/tanstack-start, packages/client-react-streaming), but yarn.lock does not contain the resolved tsup@8.3.5 dependency. The lockfile must be regenerated to match the package.json updates, as yarn install --immutable currently fails, which will break reproducible installs and CI.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@packages/nextjs/package.json` at line 102, package.json was updated to
require tsup@8.3.5 but the yarn.lock was not regenerated; run a reproducible
install to update the lockfile so CI passes: update the lockfile by running yarn
install (or yarn install --pure-lockfile) from the repo root, ensure tsup@8.3.5
is present in yarn.lock, commit the updated yarn.lock along with the
package.json changes (affecting packages/nextjs, packages/react-router,
packages/tanstack-start, packages/client-react-streaming) so yarn install
--immutable succeeds in CI.

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 vulnerability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant