{"id":74047,"date":"2025-11-21T05:45:44","date_gmt":"2025-11-21T02:15:44","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2025-64762-authkit-nextjs-may-let-session-cookies-be-cached-in-cdns\/"},"modified":"2025-11-21T05:45:44","modified_gmt":"2025-11-21T02:15:44","slug":"cve-2025-64762-authkit-nextjs-may-let-session-cookies-be-cached-in-cdns","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-64762-authkit-nextjs-may-let-session-cookies-be-cached-in-cdns\/","title":{"rendered":"CVE-2025-64762 &#8211; authkit-nextjs may let session cookies be cached in CDNs"},"content":{"rendered":"<p>CVE ID : CVE-2025-64762<\/p>\n<p>Published :  Nov. 21, 2025, 2:15 a.m. | 59\u00a0minutes ago<\/p>\n<p>Description : The AuthKit library for Next.js provides convenient helpers for authentication and session management using WorkOS &amp; AuthKit with Next.js. In authkit-nextjs version 2.11.0 and below, authenticated responses do not defensively apply anti-caching headers. In environments where CDN caching is enabled, this can result in session tokens being included in cached responses and subsequently served to multiple users. Next.js applications deployed on Vercel are unaffected unless they manually enable CDN caching by setting cache headers on authenticated paths. Patched in authkit-nextjs 2.11.1, which applies anti-caching headers to all responses behind authentication.<\/p>\n<p>Severity: 8.0 | HIGH<\/p>\n<p>Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2025-64762 Published : Nov. 21, 2025, 2:15 a.m. | 59\u00a0minutes ago Description : The AuthKit library for Next.js provides convenient helpers for authentication and session management using WorkOS &amp; AuthKit with Next.js. In authkit-nextjs version 2.11.0 and below, authenticated responses do not defensively apply anti-caching headers. In environments where CDN caching is &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-74047","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/74047","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=74047"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/74047\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=74047"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=74047"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=74047"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}