{"schemaVersion":3,"id":"CVE-2025-48947","aliases":["GHSA-f3fg-mf2q-fj3f"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2025-06-04T20:14:44.369Z","modified":"2025-06-04T20:50:02.568Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.7,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":7.7,"severity":"high","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Npm","score":7.7,"severity":"high","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":7.7,"severity":"high","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00433,"percentile":0.36251,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00433},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00433,"percentile":0.36251}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00433,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00433,"percentile":0.36251}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-525","name":"Use of Web Browser Cache Containing Sensitive Information","description":"The web application does not use an appropriate caching policy that specifies the extent to which each web page and associated form fields should be cached.","type":"weakness","status":"Incomplete","abstraction":"Variant","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/525.html"}],"affected":[{"vendor":"auth0","product":"nextjs-auth0","name":"nextjs-auth0","label":"nextjs-auth0","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.0.1, < 4.6.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.0.1, < 4.6.1","eol":null,"hubHref":"/vendor/auth0/nextjs-auth0"},{"vendor":"@auth0","product":"nextjs-auth0","name":"@auth0/nextjs-auth0","label":"nextjs-auth0","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/@auth0/nextjs-auth0","purlType":"npm","versions":[{"text":"≥ 4.0.1, < 4.6.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.0.1, < 4.6.1","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/auth0/nextjs-auth0/security/advisories/GHSA-f3fg-mf2q-fj3f","label":"github.com/auth0/nextjs-auth0/security/advisories/GHSA-f3fg-mf2q-fj3f","hostname":"github.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48947","label":"nvd.nist.gov/vuln/detail/CVE-2025-48947","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/auth0/nextjs-auth0/commit/12a62ca596db3b0827b39a4b865b882423e7cb1e","label":"github.com/auth0/nextjs-auth0/commit/12a62ca596db3b0827b39a4b865b882423e7cb1e","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/auth0/nextjs-auth0","label":"github.com/auth0/nextjs-auth0","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-06-04T20:14:44.369Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-06-04T20:50:02.568Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T10:27:23.486Z","stale":false,"partial":false}}