diff --git a/advisories/github-reviewed/2025/06/GHSA-f3fg-mf2q-fj3f/GHSA-f3fg-mf2q-fj3f.json b/advisories/github-reviewed/2025/06/GHSA-f3fg-mf2q-fj3f/GHSA-f3fg-mf2q-fj3f.json new file mode 100644 index 00000000000..f01969e7459 --- /dev/null +++ b/advisories/github-reviewed/2025/06/GHSA-f3fg-mf2q-fj3f/GHSA-f3fg-mf2q-fj3f.json @@ -0,0 +1,64 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-f3fg-mf2q-fj3f", + "modified": "2025-06-04T21:24:52Z", + "published": "2025-06-04T21:24:52Z", + "aliases": [ + "CVE-2025-48947" + ], + "summary": "NextJS-Auth0 SDK Vulnerable to CDN Caching of Session Cookies", + "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.", + "severity": [ + { + "type": "CVSS_V4", + "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" + } + ], + "affected": [ + { + "package": { + "ecosystem": "npm", + "name": "@auth0/nextjs-auth0" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "4.0.1" + }, + { + "fixed": "4.6.1" + } + ] + } + ], + "database_specific": { + "last_known_affected_version_range": "<= 4.6.0" + } + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/auth0/nextjs-auth0/security/advisories/GHSA-f3fg-mf2q-fj3f" + }, + { + "type": "WEB", + "url": "https://github.com/auth0/nextjs-auth0/commit/12a62ca596db3b0827b39a4b865b882423e7cb1e" + }, + { + "type": "PACKAGE", + "url": "https://github.com/auth0/nextjs-auth0" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-525" + ], + "severity": "HIGH", + "github_reviewed": true, + "github_reviewed_at": "2025-06-04T21:24:52Z", + "nvd_published_at": null + } +} \ No newline at end of file