ghsa-f3fg-mf2q-fj3f
Vulnerability from github
Published
2025-06-04 21:24
Modified
2025-06-04 22:57
Severity ?
Summary
NextJS-Auth0 SDK Vulnerable to CDN Caching of Session Cookies
Details
Overview In Auth0 Next.js SDK versions 4.0.1 to 4.6.0, __session cookies set by auth0.middleware may be cached by CDNs due to missing Cache-Control headers.
Am I Affected? You are affected by this vulnerability if you meet the following preconditions:
- 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.
- If the Cache-Control header is not properly set for sensitive responses.
Fix Upgrade auth0/nextjs-auth0 to v4.6.1.
{ "affected": [ { "database_specific": { "last_known_affected_version_range": "\u003c= 4.6.0" }, "package": { "ecosystem": "npm", "name": "@auth0/nextjs-auth0" }, "ranges": [ { "events": [ { "introduced": "4.0.1" }, { "fixed": "4.6.1" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2025-48947" ], "database_specific": { "cwe_ids": [ "CWE-525" ], "github_reviewed": true, "github_reviewed_at": "2025-06-04T21:24:52Z", "nvd_published_at": "2025-06-04T21:15:40Z", "severity": "HIGH" }, "details": "**Overview**\nIn Auth0 Next.js SDK versions 4.0.1 to 4.6.0, __session cookies set by auth0.middleware may be cached by CDNs due to missing Cache-Control headers.\n\n**Am I Affected?**\nYou are affected by this vulnerability if you meet the following preconditions:\n\n1. Applications using the NextJS-Auth0 SDK, versions between 4.0.1 to 4.6.0,\n2. Applications using CDN or edge caching that caches responses with the Set-Cookie header.\n3. If the Cache-Control header is not properly set for sensitive responses.\n\n**Fix**\nUpgrade auth0/nextjs-auth0 to v4.6.1.", "id": "GHSA-f3fg-mf2q-fj3f", "modified": "2025-06-04T22:57:21Z", "published": "2025-06-04T21:24:52Z", "references": [ { "type": "WEB", "url": "https://github.com/auth0/nextjs-auth0/security/advisories/GHSA-f3fg-mf2q-fj3f" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-48947" }, { "type": "WEB", "url": "https://github.com/auth0/nextjs-auth0/commit/12a62ca596db3b0827b39a4b865b882423e7cb1e" }, { "type": "PACKAGE", "url": "https://github.com/auth0/nextjs-auth0" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L", "type": "CVSS_V4" } ], "summary": "NextJS-Auth0 SDK Vulnerable to CDN Caching of Session Cookies" }
Loading...
Loading...
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.