CVE-2025-65944
JavaScript vulnerability analysis and mitigation

Overview

When a Node.js application using the Sentry SDK has sendDefaultPii: true configured, sensitive HTTP headers including Cookie and Authorization headers could be inadvertently sent to Sentry between versions 10.11.0 and 10.26.0. These headers would be stored within the Sentry organization as part of the associated trace. The vulnerability affects multiple Sentry Node.js SDK packages including @sentry/astro, @sentry/aws-serverless, @sentry/bun, @sentry/google-cloud-serverless, @sentry/nestjs, @sentry/nextjs, @sentry/node, @sentry/node-core, @sentry/nuxt, @sentry/remix, @sentry/solidstart, and @sentry/sveltekit (GitHub Advisory).

Technical details

The vulnerability was introduced in version 10.11.0 when changes were made to how the SDK collects request data in Node.js applications, causing certain incoming HTTP headers to be added as trace span attributes. When sendDefaultPii: true was set, headers that were previously redacted (like Authorization and Cookie) were unintentionally allowed through. While Sentry's server-side scrubbing normally provides a second layer of protection through the Relay edge proxy, it used the same matching logic as the SDK and thus also failed to catch these headers (GitHub Advisory).

Impact

A person with access to the Sentry organization could view and potentially use these sensitive header values to impersonate or escalate their privileges within a user's application. 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 headers (GitHub Advisory).

Mitigation and workarounds

The issue has been patched in version 10.27.0 of all affected Sentry JavaScript SDKs. Users are strongly encouraged to upgrade to version 10.27.0 or later. As a workaround, users can set sendDefaultPii: false to avoid unintentionally sending sensitive headers if upgrading is not immediately possible (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65108CRITICAL10
  • JavaScriptJavaScript
  • md-to-pdf
NoYesNov 21, 2025
CVE-2025-64767CRITICAL9.1
  • JavaScriptJavaScript
  • @hpke/core
NoYesNov 21, 2025
CVE-2025-64755HIGH8.7
  • JavaScriptJavaScript
  • @anthropic-ai/claude-code
NoYesNov 21, 2025
CVE-2025-64762HIGH8
  • JavaScriptJavaScript
  • @workos-inc/authkit-nextjs
NoYesNov 21, 2025
CVE-2025-65944MEDIUM5.1
  • JavaScriptJavaScript
  • @sentry/nestjs
NoYesNov 24, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management