Skip to content

CVE-2025-65944 Sentry-Javascript deals with leaked sensitive headers when `sendDefaultPii` is set to `true`

MediumCVSS 5.1 EPSS 0.37%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

Sentry-Javascript is an official Sentry SDKs for JavaScript. From version 10.11.0 to before 10.27.0, when a Node.js application using the Sentry SDK has sendDefaultPii: true it is possible to inadvertently send certain sensitive HTTP headers, including the Cookie header, to Sentry. Those headers would be stored within a 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 the application. This issue has been patched in version 10.27.0.

Upgrade path

13 packages: 12 fixed.

PackageAffectedFixed inStatus
sentry @sentry/astro(npm) >= 10.11.0, < 10.27.0 10.27.0 Fixed
sentry @sentry/aws-serverless(npm) >= 10.11.0, < 10.27.0 10.27.0 Fixed
sentry @sentry/bun(npm) >= 10.11.0, < 10.27.0 10.27.0 Fixed
sentry @sentry/google-cloud-serverless(npm) >= 10.11.0, < 10.27.0 10.27.0 Fixed
sentry @sentry/nestjs(npm) >= 10.11.0, < 10.27.0 10.27.0 Fixed
sentry @sentry/nextjs(npm) >= 10.11.0, < 10.27.0 10.27.0 Fixed
sentry @sentry/node(npm) >= 10.11.0, < 10.27.0 10.27.0 Fixed
sentry @sentry/node-core(npm) >= 10.11.0, < 10.27.0 10.27.0 Fixed
sentry @sentry/nuxt(npm) >= 10.11.0, < 10.27.0 10.27.0 Fixed
sentry @sentry/remix(npm) >= 10.11.0, < 10.27.0 10.27.0 Fixed
sentry @sentry/solidstart(npm) >= 10.11.0, < 10.27.0 10.27.0 Fixed
sentry @sentry/sveltekit(npm) >= 10.11.0, < 10.27.0 10.27.0 Fixed
getsentry sentry-javascript = >= 10.11.0, < 10.27.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
sentry @sentry/node(npm) >= 10.11.0, < 10.27.0 10.27.0
sentry @sentry/astro(npm) >= 10.11.0, < 10.27.0 10.27.0
sentry @sentry/aws-serverless(npm) >= 10.11.0, < 10.27.0 10.27.0
sentry @sentry/bun(npm) >= 10.11.0, < 10.27.0 10.27.0
sentry @sentry/google-cloud-serverless(npm) >= 10.11.0, < 10.27.0 10.27.0
sentry @sentry/nestjs(npm) >= 10.11.0, < 10.27.0 10.27.0
sentry @sentry/nextjs(npm) >= 10.11.0, < 10.27.0 10.27.0
sentry @sentry/node-core(npm) >= 10.11.0, < 10.27.0 10.27.0
sentry @sentry/nuxt(npm) >= 10.11.0, < 10.27.0 10.27.0
sentry @sentry/remix(npm) >= 10.11.0, < 10.27.0 10.27.0
sentry @sentry/solidstart(npm) >= 10.11.0, < 10.27.0 10.27.0
sentry @sentry/sveltekit(npm) >= 10.11.0, < 10.27.0 10.27.0
getsentry sentry-javascript = >= 10.11.0, < 10.27.0 No fix listed

References