Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @auth0/nextjs-auth0
  4. ›
  5. CVE-2025-48947

CVE-2025-48947: NextJS-Auth0 SDK Vulnerable to CDN Caching of Session Cookies

June 4, 2025 (updated November 10, 2025)

Overview In Auth0 Next.js SDK versions 4.0.1 to 4.6.0, __session cookies set by auth0.middleware may be cached by CDNs due to missing Cache-Control headers.

Am I Affected? You are affected by this vulnerability if you meet the following preconditions:

  1. Applications using the NextJS-Auth0 SDK, versions between 4.0.1 to 4.6.0,
  2. Applications using CDN or edge caching that caches responses with the Set-Cookie header.
  3. If the Cache-Control header is not properly set for sensitive responses.

Fix Upgrade auth0/nextjs-auth0 to v4.6.1.

References

  • github.com/advisories/GHSA-f3fg-mf2q-fj3f
  • github.com/auth0/nextjs-auth0
  • github.com/auth0/nextjs-auth0/commit/12a62ca596db3b0827b39a4b865b882423e7cb1e
  • github.com/auth0/nextjs-auth0/security/advisories/GHSA-f3fg-mf2q-fj3f
  • nvd.nist.gov/vuln/detail/CVE-2025-48947

Code Behaviors & Features

Detect and mitigate CVE-2025-48947 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 4.0.1 before 4.6.1

Fixed versions

  • 4.6.1

Solution

Upgrade to version 4.6.1 or above.

Impact 9.6 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-525: Use of Web Browser Cache Containing Sensitive Information

Source file

npm/@auth0/nextjs-auth0/CVE-2025-48947.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:28 +0000.