Skip to content
OpenAdvisories
Medium · 5.1 CVE-2025-65944 EUVD-2025-198990GHSA-6465-jgvq-jhgp

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

Published Nov 25, 2025 · Updated Nov 25, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
getsentry sentry-javascript >= 10.11.0, < 10.27.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @sentry/astro >= 10.11.0, < 10.27.0 10.27.0 GHSA-6465-jgvq-jhgp
npm @sentry/aws-serverless >= 10.11.0, < 10.27.0 10.27.0 GHSA-6465-jgvq-jhgp
npm @sentry/bun >= 10.11.0, < 10.27.0 10.27.0 GHSA-6465-jgvq-jhgp
npm @sentry/google-cloud-serverless >= 10.11.0, < 10.27.0 10.27.0 GHSA-6465-jgvq-jhgp
npm @sentry/nestjs >= 10.11.0, < 10.27.0 10.27.0 GHSA-6465-jgvq-jhgp
npm @sentry/nextjs >= 10.11.0, < 10.27.0 10.27.0 GHSA-6465-jgvq-jhgp
npm @sentry/node >= 10.11.0, < 10.27.0 10.27.0 GHSA-6465-jgvq-jhgp
npm @sentry/node-core >= 10.11.0, < 10.27.0 10.27.0 GHSA-6465-jgvq-jhgp
npm @sentry/nuxt >= 10.11.0, < 10.27.0 10.27.0 GHSA-6465-jgvq-jhgp
npm @sentry/remix >= 10.11.0, < 10.27.0 10.27.0 GHSA-6465-jgvq-jhgp
npm @sentry/solidstart >= 10.11.0, < 10.27.0 10.27.0 GHSA-6465-jgvq-jhgp
npm @sentry/sveltekit >= 10.11.0, < 10.27.0 10.27.0 GHSA-6465-jgvq-jhgp

References