CVE-2025-48947

NextJS-Auth0 SDK Vulnerable to CDN Caching of Session Cookies

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.

Category

7.7
CVSS
Severity: High
CVSS 4.0 •
EPSS 0.05%
Affected: auth0 nextjs-auth0
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2025-48947?
CVE-2025-48947 has been scored as a high severity vulnerability.
How to fix CVE-2025-48947?
To fix CVE-2025-48947, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2025-48947 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2025-48947 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2025-48947?
CVE-2025-48947 affects auth0 nextjs-auth0.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.