Update dependency @sentry/node to v10.27.0 [SECURITY] #25
+608
−686
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
10.15.0->10.27.0GitHub Vulnerability Alerts
CVE-2025-65944
Impact
When a Node.js application using the Sentry SDK has
sendDefaultPii: trueit is possible to inadvertently send certain sensitive HTTP headers, including theCookieheader, to Sentry. Those headers would be stored within the Sentry organization as part of the associated trace. A person with access to the Sentry organization could then view and use these sensitive values to impersonate or escalate their privileges within a user's application.Users may be impacted if:
sendDefaultPiiset totrue10.11.0to10.26.0inclusively:Users can check if their project was affected, by visiting Explore → Traces and searching for “http.request.header.authorization”, “http.request.header.cookie” or similar. Any potentially sensitive values will be specific to the users' applications and configurations.
Patches
The issue has been patched in all Sentry JavaScript SDKs starting from the 10.27.0 version.
Workarounds
Sentry strongly encourages customers to upgrade the SDK to the latest available version, 10.27.0 or later.
If it is not possible, consider setting
sendDefaultPii: falseto avoid unintentionally sending sensitive headers. See here for documentation.Resources
Release Notes
getsentry/sentry-javascript (@sentry/node)
v10.27.0Compare Source
Important Changes
feat(deps): Bump OpenTelemetry (#18239)
feat(browserprofiling): Add
manualmode and deprecate old profiling (#18189)Adds the
manuallifecycle mode for UI profiling (the default mode), allowing profiles to be captured manually withSentry.uiProfiler.startProfiler()andSentry.uiProfiler.stopProfiler().The previous transaction-based profiling is with
profilesSampleRateis now deprecated in favor of the new UI Profiling withprofileSessionSampleRate.Other Changes
gibibyteandpebibytetoInformationUnittype (#18241)_experiments.enableLogsoption (#18299)maxValueLengthon error messages (#18301)sendDefaultPii(#18311)beforeSendMetric(#18261)Internal Changes
- build(deps): bump hono from 4.9.7 to 4.10.3 in /dev-packages/e2e-tests/test-applications/cloudflare-hono ([#18038](https://redirect.github.com/getsentry/sentry-javascript/pull/18038)) - chore: Add `bump_otel_instrumentations` cursor command ([#18253](https://redirect.github.com/getsentry/sentry-javascript/pull/18253)) - chore: Add external contributor to CHANGELOG.md ([#18297](https://redirect.github.com/getsentry/sentry-javascript/pull/18297)) - chore: Add external contributor to CHANGELOG.md ([#18300](https://redirect.github.com/getsentry/sentry-javascript/pull/18300)) - chore: Do not update opentelemetry ([#18254](https://redirect.github.com/getsentry/sentry-javascript/pull/18254)) - chore(angular): Add Angular 21 Support ([#18274](https://redirect.github.com/getsentry/sentry-javascript/pull/18274)) - chore(deps): bump astro from 4.16.18 to 5.15.9 in /dev-packages/e2e-tests/test-applications/cloudflare-astro ([#18259](https://redirect.github.com/getsentry/sentry-javascript/pull/18259)) - chore(dev-deps): Update some dev dependencies ([#17816](https://redirect.github.com/getsentry/sentry-javascript/pull/17816)) - ci(deps): Bump actions/create-github-app-token from 2.1.1 to 2.1.4 ([#17825](https://redirect.github.com/getsentry/sentry-javascript/pull/17825)) - ci(deps): bump actions/setup-node from 4 to 6 ([#18077](https://redirect.github.com/getsentry/sentry-javascript/pull/18077)) - ci(deps): bump actions/upload-artifact from 4 to 5 ([#18075](https://redirect.github.com/getsentry/sentry-javascript/pull/18075)) - ci(deps): bump github/codeql-action from 3 to 4 ([#18076](https://redirect.github.com/getsentry/sentry-javascript/pull/18076)) - doc(sveltekit): Update documentation link for SvelteKit guide ([#18298](https://redirect.github.com/getsentry/sentry-javascript/pull/18298)) - test(e2e): Fix astro config in test app ([#18282](https://redirect.github.com/getsentry/sentry-javascript/pull/18282)) - test(nextjs): Remove debug logs from e2e test ([#18250](https://redirect.github.com/getsentry/sentry-javascript/pull/18250))Work in this release was contributed by @bignoncedric and @adam-kov. Thank you for your contributions!
Bundle size 📦
v10.26.0Compare Source
Important Changes
Adds support for instrumenting LangGraph StateGraph operations in Node. The LangGraph integration can be configured as follows:
Instrumentation for LangGraph in Cloudflare Workers and Vercel Edge environments is supported by manually calling
instrumentLangGraph:Other Changes
server.addressattribute on server runtimes (#18242)okstatus to successfulidleSpans (#18139)fetchsupport with data URL (#18225)captureConsoleIntegration(#18096)MAX_LOG_BUFFER_SIZEare not swallowed (#18207)MAX_METRIC_BUFFER_SIZEare not swallowed (#18212)VNodeobjects with highnormalizeDepth(#18206)tracingChannelexport missing in older node versions (#18191)Internal Changes
@embroider/addon-shimto 1.10.0 for the e2e ember-embroider (#18173)testTimeoutfield in bundler-tests vitest config@embroider/addon-shimoverride (#18180)Scope.setTagbundle size and adjust test (#18182)v10.25.0Compare Source
v10.24.0Compare Source
Important Changes
feat(metrics): Add top level option
enableMetricsandbeforeSendMetric(#18088)This PR moves
enableMetricsandbeforeSendMetricout of the_experimentsoptions.The metrics feature will now be enabled by default (none of our integrations will auto-emit metrics as of now), but you can disable sending metrics via
enableMetrics: false.Metric options within
_experimentsgot deprecated but will still work as of now, they will be removed with the next major version of our SDKs.Other Changes
SENTRY_LAYER_EXTENSIONto configure using the lambda layer extension via env variables (#18101)background-imagewhenblockAllMediais enabled (#18019)Internal Changes
Bundle size 📦
v10.23.0Compare Source
user-agentheader with envelope requests in server SDKs (#17929)maxValueLength: 250(#18043)optionsparameter optional onattachErrorHandler(#18072)internal_errorinstead ofunknown_error(#17909)Internal Changes
Work in this release was contributed by @hanseo0507. Thank you for your contribution!
Bundle size 📦
v10.22.0Compare Source
Important Changes
feat(node): Instrument cloud functions for firebase v2 (#17952)
We added instrumentation for Cloud Functions for Firebase v2, enabling automatic performance tracking and error monitoring. This will be added automatically if you have enabled tracing.
feat(core): Instrument LangChain AI (#17955)
Instrumentation was added for LangChain AI operations. You can configure what is recorded like this:
Other Changes
err(#17999)/when getting pathname (#17985)spanEndfor potentially cancelled lazy-route transactions (#17962)Internal Changes
getMetaTagTransformertests for Vitest compatibility (#18013)createHashRouter(#17789)Bundle size 📦
v10.21.0Compare Source
Important Changes
feat(browserProfiling): Add
tracelifecycle mode for UI profiling (#17619)Adds a new
tracelifecycle mode for UI profiling, allowing profiles to be captured for the duration of a trace. Amanualmode will be added in a future release.feat(nuxt): Instrument Database (#17899)
Adds instrumentation for Nuxt database operations, enabling better performance tracking of database queries.
feat(nuxt): Instrument server cache API (#17886)
Adds instrumentation for Nuxt's server cache API, providing visibility into cache operations.
feat(nuxt): Instrument storage API (#17858)
Adds instrumentation for Nuxt's storage API, enabling tracking of storage operations.
Other Changes
onRequestSpanEndhook to browser tracing integration (#17884)clean-css(#17979)Internal Changes
Work in this release was contributed by @0xbad0c0d3. Thank you for your contribution!
Bundle size 📦
v10.20.0Compare Source
Important Changes
feat(flags): Add Growthbook integration (#17440)
Adds a new Growthbook integration for feature flag support.
feat(solid): Add support for TanStack Router Solid (#17735)
Adds support for TanStack Router in the Solid SDK, enabling better routing instrumentation for Solid applications.
feat(nextjs): Support native debugIds in turbopack (#17853)
Adds support for native Debug IDs in Turbopack, improving source map resolution and error tracking for Next.js applications using Turbopack. Native Debug ID generation will be enabled automatically for compatible versions.
Other Changes
pinologger name (#17930)POPguard for long-runningpageloadspans (#17867)Internal Changes
- chore(nextjs): AddConfiguration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.