CVE-2025-48947

High

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.

SeverityHigh
CVSS7.7
Exploit probability—
Product@auth0/nextjs-auth0
PublishedJun 4, 2025
First seenJun 4, 2025
Weakness typeCWE-525CWE-525

How to fix

Update
  • @auth0/nextjs-auth04.6.1 or later

Affected products

ProductAffected versionsFixed in
@auth0/nextjs-auth0npm4.0.1 ≤ v < 4.6.14.6.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.