{"id":"CVE-2025-65944","published":"2025-11-25T00:23:53Z","modified":"2025-11-25T14:33:37Z","title":"Sentry-Javascript deals with leaked sensitive headers when `sendDefaultPii` is set to `true`","vendor":"getsentry","product":"sentry-javascript","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.1,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00369,"percentile":0.31549,"provenance":"source"},"cwes":[{"id":"CWE-201","name":"Insertion of Sensitive Information Into Sent Data"}],"references":[{"url":"https://github.com/getsentry/sentry-javascript/security/advisories/GHSA-6465-jgvq-jhgp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/getsentry/sentry-javascript/pull/17475","tags":["x_refsource_MISC"]},{"url":"https://github.com/getsentry/sentry-javascript/commit/a820fa2891fdcf985b834a5b557edf351ec54539","tags":["x_refsource_MISC"]},{"url":"https://github.com/getsentry/sentry-javascript/releases/tag/10.11.0","tags":["x_refsource_MISC"]}],"priority":{"score":9.9,"factors":[{"name":"EPSS percentile","points":6.31},{"name":"CVSS severity","points":3.57}]},"vendorSlug":"getsentry","affectedVersions":[{"vendor":"getsentry","product":"sentry-javascript","versions":[">= 10.11.0, < 10.27.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-11-25T14:32:50.118977Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@sentry/node","vulnerableRanges":[">=10.11.0, <10.27.0"],"patched":["10.27.0"],"from":["GHSA-6465-jgvq-jhgp"],"provenance":"source"},{"ecosystem":"npm","package":"@sentry/astro","vulnerableRanges":[">=10.11.0, <10.27.0"],"patched":["10.27.0"],"from":["GHSA-6465-jgvq-jhgp"],"provenance":"source"},{"ecosystem":"npm","package":"@sentry/aws-serverless","vulnerableRanges":[">=10.11.0, <10.27.0"],"patched":["10.27.0"],"from":["GHSA-6465-jgvq-jhgp"],"provenance":"source"},{"ecosystem":"npm","package":"@sentry/bun","vulnerableRanges":[">=10.11.0, <10.27.0"],"patched":["10.27.0"],"from":["GHSA-6465-jgvq-jhgp"],"provenance":"source"},{"ecosystem":"npm","package":"@sentry/google-cloud-serverless","vulnerableRanges":[">=10.11.0, <10.27.0"],"patched":["10.27.0"],"from":["GHSA-6465-jgvq-jhgp"],"provenance":"source"},{"ecosystem":"npm","package":"@sentry/nestjs","vulnerableRanges":[">=10.11.0, <10.27.0"],"patched":["10.27.0"],"from":["GHSA-6465-jgvq-jhgp"],"provenance":"source"},{"ecosystem":"npm","package":"@sentry/nextjs","vulnerableRanges":[">=10.11.0, <10.27.0"],"patched":["10.27.0"],"from":["GHSA-6465-jgvq-jhgp"],"provenance":"source"},{"ecosystem":"npm","package":"@sentry/node-core","vulnerableRanges":[">=10.11.0, <10.27.0"],"patched":["10.27.0"],"from":["GHSA-6465-jgvq-jhgp"],"provenance":"source"},{"ecosystem":"npm","package":"@sentry/nuxt","vulnerableRanges":[">=10.11.0, <10.27.0"],"patched":["10.27.0"],"from":["GHSA-6465-jgvq-jhgp"],"provenance":"source"},{"ecosystem":"npm","package":"@sentry/remix","vulnerableRanges":[">=10.11.0, <10.27.0"],"patched":["10.27.0"],"from":["GHSA-6465-jgvq-jhgp"],"provenance":"source"}],"summary":{"text":"The sentry-javascript SDK for Node.js applications, from version 10.11.0 before 10.27.0, can inadvertently send sensitive HTTP headers, including the Cookie header, to Sentry when sendDefaultPii is set to true. An attacker who already has privileged access to the Sentry organization, where these headers are stored as part of the associated trace, can view and reuse those values to impersonate users or escalate privileges within the application.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:09:11Z"},"euvd":{"id":"EUVD-2025-198990","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-getsentry-sentry-javascript-cve-2023-50249","parents":[{"from":"CVE-2023-50249","to":"CVE-2025-65944","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/astro/src/server/middleware.ts"],"commits":["https://github.com/getsentry/sentry-javascript/commit/fe24eb5eefa9d27b14b2b6f9ebd1debca1c208fb","https://github.com/getsentry/sentry-javascript/commit/a820fa2891fdcf985b834a5b557edf351ec54539"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2025-65944","to":"CVE-2026-114139","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@sentry/nextjs","fromFixed":"10.27.0","toFixed":"10.75.2","daysApart":330},{"kind":"same-code","provenance":"machine","files":["packages/nextjs/src/common/wrapMiddlewareWithSentry.ts"],"commits":["https://github.com/getsentry/sentry-javascript/commit/a820fa2891fdcf985b834a5b557edf351ec54539","https://github.com/getsentry/sentry-javascript/commit/878b685c85dc12045e47e1932c96f5381d7ac532","https://github.com/getsentry/sentry-javascript/commit/c122aac4f29541eb6da494296822c91eab3cf5ae"],"basis":"shared function","functions":["wrapMiddlewareWithSentry"]}]}],"packageHistory":[{"cve":"CVE-2023-46729","published":"2023-11-10","fixed":"7.77.0","kev":false},{"cve":"CVE-2025-65944","published":"2025-11-25","fixed":"10.27.0","kev":false},{"cve":"CVE-2026-114139","published":"2026-10-21","fixed":"11.0.0-rc.1","kev":false}],"package":"npm:@sentry/nextjs"}}