Vulnerability · Published Nov 25, 2025 · Assigned by GitHub_M

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

Medium 5.1

In plain English

A medium-severity security flaw in sentry-javascript from getsentry. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)5.1Medium
Exploit odds (30 days)0.4%top 69.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@sentry/astro10.27.0GHSA-6465-jgvq-jhgp
npm@sentry/aws-serverless10.27.0GHSA-6465-jgvq-jhgp
npm@sentry/bun10.27.0GHSA-6465-jgvq-jhgp
npm@sentry/google-cloud-serverless10.27.0GHSA-6465-jgvq-jhgp
npm@sentry/nestjs10.27.0GHSA-6465-jgvq-jhgp
npm@sentry/nextjs10.27.0GHSA-6465-jgvq-jhgp
npm@sentry/node10.27.0GHSA-6465-jgvq-jhgp
npm@sentry/node-core10.27.0GHSA-6465-jgvq-jhgp
npm@sentry/nuxt10.27.0GHSA-6465-jgvq-jhgp
npm@sentry/remix10.27.0GHSA-6465-jgvq-jhgp
npm@sentry/solidstart10.27.0GHSA-6465-jgvq-jhgp
npm@sentry/sveltekit10.27.0GHSA-6465-jgvq-jhgp

Affected products (as reported)

VendorProductVersions
getsentry sentry-javascript >= 10.11.0, < 10.27.0

Weakness: CWE-201 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:N/SC:H/SI:L/SA:L

References