High severity · published Jun 4, 2025
CVE-2025-48947
NextJS-Auth0 SDK Vulnerable to CDN Caching of Session Cookies
7.7
CVSS
0.4%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 38% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
NE
nextjs-auth0 · auth0
>= 4.0.1, < 4.6.1 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-48947
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-48947
github.com
https://github.com/auth0/nextjs-auth0/security/advisories/GHSA-f3fg-mf2q-fj3f
More from nextjs-auth0
6.1
CVE-2026-107369
Improper Validation of Post-Login Redirect URL in nextjs-auth0
6.1
CVE-2021-43812
The Auth0 Next.js SDK is a library for implementing user authentication in Next.js applications
6.1
CVE-2021-32702
The Auth0 Next.js SDK is a library for implementing user authentication in Next.js applications
5.7
CVE-2025-67716
Auth0 Next.js SDK has Improper Validation of Query Parameters
5.4
CVE-2026-40155
Auth0 Next.js SDK has Improper Proxy Cache Lookup
