Vulnerability library
Security checkNovember 27, 2025

Sentry's sensitive headers are leaked when `sendDefaultPii` is set to `true`

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpm@sentry/sveltekit

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

In version 10.11.0, a change to how the SDK collects request data in Node.js applications caused certain incoming HTTP headers to be added as trace span attributes. When sendDefaultPii: true was set, a few headers that were previously redacted - including Authorization and Cookie - were unintentionally allowed through.

Recommendation

Update the @sentry/sveltekit package to the latest compatible version. Followings are version details:

  • Affected version(s): >= 10.11.0, < 10.27.0
  • Patched version(s): 10.27.0

References

Could your website be exposed too?

SmartScanner can check your website for Sentry's sensitive headers are leaked when `sendDefaultPii` is set to `true` and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated November 27, 2025