Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-48947

HIGH 7.7EPSS 51%

NextJS-Auth0 SDK Vulnerable to CDN Caching of Session Cookies

Also known as GHSA-f3fg-mf2q-fj3f

Mitigation

  • Upgrade @auth0/nextjs-auth0 to 4.6.1 or later.

Who should check

  • Projects that depend on npm package @auth0/nextjs-auth0 (>= 4.0.1, < 4.6.1)
  • Anyone running nextjs-auth0 >= 4.0.1, < 4.6.1

Vulnerability facts

Affected
@auth0/nextjs-auth0 >= 4.0.1, < 4.6.1
Fixed in
4.6.1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.7 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:L/SI:L/SA:LOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: Present
  • Privileges required: None
  • User interaction: Passive
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
  • Confidentiality impact on other systems: Low
  • Integrity impact on other systems: Low
  • Availability impact on other systems: Low
EPSS
0.76% chance of exploitation in 30 days (percentile 51, 2026-11-26)
CWE
CWE-525
Published
Modified

Description

The Auth0 Next.js SDK is a library for implementing user authentication in Next.js applications. In Auth0 Next.js SDK versions 4.0.1 through 4.6.0, `__session` cookies set by auth0.middleware may be cached by CDNs due to missing Cache-Control headers. Three preconditions must be met in order for someone to be affected by the vulnerability: Applications using the NextJS-Auth0 SDK, versions between 4.0.1 to 4.6.0, applications using CDN or edge caching that caches responses with the Set-Cookie header, and if the Cache-Control header is not properly set for sensitive responses. Users should upgrade auth0/nextjs-auth0 to v4.6.1 to receive a patch.

Affected and fixed versions

Package / productAffectedFixedSource
npm @auth0/nextjs-auth0>= 4.0.1, < 4.6.14.6.1osv
nextjs-auth0>= 4.0.1, < 4.6.1—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-48947. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-48947.md
Affected: @auth0/nextjs-auth0 >= 4.0.1, < 4.6.1
Fixed in: 4.6.1

Steps:
1. Search this machine and project for @auth0/nextjs-auth0 (npm), nextjs-auth0: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-48947 being exploited?

There is no confirmed exploitation: CVE-2025-48947 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.76% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-48947?

High: CVSS 7.7 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2025-48947?

@auth0/nextjs-auth0 >= 4.0.1, < 4.6.1.

Is there a fix for CVE-2025-48947?

Yes. Fixed in 4.6.1. Upgrade @auth0/nextjs-auth0 to 4.6.1 or later.

How do I check if I'm affected by CVE-2025-48947?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors