CVE-2025-65944Sentry-Javascript deals with leaked sensitive headers when `sendDefaultPii` is set to…
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.
What to do
Fixed builds are available from npm: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| npm library | @sentry/astro | Fixed | 10.27.0 | GHSA-6465-jgvq-jhgp |
| npm library | @sentry/aws-serverless | Fixed | 10.27.0 | GHSA-6465-jgvq-jhgp |
| npm library | @sentry/bun | Fixed | 10.27.0 | GHSA-6465-jgvq-jhgp |
| npm library | @sentry/google-cloud-serverless | Fixed | 10.27.0 | GHSA-6465-jgvq-jhgp |
| npm library | @sentry/nestjs | Fixed | 10.27.0 | GHSA-6465-jgvq-jhgp |
| npm library | @sentry/nextjs | Fixed | 10.27.0 | GHSA-6465-jgvq-jhgp |
| npm library | @sentry/node | Fixed | 10.27.0 | GHSA-6465-jgvq-jhgp |
| npm library | @sentry/node-core | Fixed | 10.27.0 | GHSA-6465-jgvq-jhgp |
| npm library | @sentry/nuxt | Fixed | 10.27.0 | GHSA-6465-jgvq-jhgp |
| npm library | @sentry/remix | Fixed | 10.27.0 | GHSA-6465-jgvq-jhgp |
| npm library | @sentry/solidstart | Fixed | 10.27.0 | GHSA-6465-jgvq-jhgp |
| npm library | @sentry/sveltekit | Fixed | 10.27.0 | GHSA-6465-jgvq-jhgp |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- getsentry sentry-javascript: affected: >= 10.11.0, < 10.27.0
References
- https://github.com/getsentry/sentry-javascript/security/advisories/GHSA-6465-jgvq-jhgp
- https://github.com/getsentry/sentry-javascript/pull/17475
- https://github.com/getsentry/sentry-javascript/commit/a820fa2891fdcf985b834a5b557edf351ec54539
- https://github.com/getsentry/sentry-javascript/releases/tag/10.11.0
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.