CVE-2025-48947 Details
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.
A vulnerability exists in Auth0 Next.js SDK versions 4.0.1 through 4.6.0, where `__session` cookies set by auth0.middleware may be cached by CDNs. This issue arises from the absence of Cache-Control headers, allowing sensitive cookies to be stored in cached responses. To be affected, applications must use a vulnerable version of the Next.js Auth0 SDK, employ CDN or edge caching that stores responses with the Set-Cookie header, and fail to properly configure the Cache-Control header for sensitive responses.
Users should upgrade to Auth0 Next.js SDK version 4.6.1, which addresses this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 4, 2025CISA-ADP
Assessed Jun 4, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/auth0/nextjs-auth0/security/advisories/GHSA-f3fg-mf2q-fj3f | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-525 | Use of Web Browser Cache Containing Sensitive Information | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Auth0 Next.js SDK | >= 4.0.1, <= 4.6.0 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 4, 2025 | New CVE Received | [email protected] |
Volerion