{"id":"CVE-2024-51752","state":"PUBLISHED","title":"Refresh tokens are logged when the debug flag is enabled in @workos-inc/authkit-nextjs","description":"The AuthKit library for Next.js provides convenient helpers for authentication and session management using WorkOS & AuthKit with Next.js. In affected versions refresh tokens are logged to the console when the disabled by default `debug` flag, is enabled. This issue has been patched in version 0.13.2 and all users are advised to upgrade. There are no known workarounds for this vulnerability.","publishedAt":"2024-11-05T19:16:41.831Z","updatedAt":"2024-11-05T20:15:07.923Z","severity":{"score":2.1,"label":"Low","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["workos authkit-nextjs"],"affected":[{"vendor":"workos","product":"authkit-nextjs","versions":[{"version":"< 0.13.2","status":"affected"}]}],"references":["https://github.com/workos/authkit-nextjs/security/advisories/GHSA-5wmg-9cvh-qw25","https://github.com/workos/authkit-nextjs/commit/15a332632f7560b03cc6d8cc8da24fd2ac931da7","https://github.com/workos/authkit-nextjs/releases/tag/v0.13.2"],"weaknesses":["CWE-532"],"ingestedAt":"2026-10-29T20:08:04.920Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/51xxx/CVE-2024-51752.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-51752","state":"PUBLISHED","datePublished":"2024-11-05T19:16:41.831Z","dateUpdated":"2024-11-05T20:15:07.923Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-10-31T14:12:45.791Z"},"containers":{"cna":{"title":"Refresh tokens are logged when the debug flag is enabled in @workos-inc/authkit-nextjs","descriptions":[{"lang":"en","value":"The AuthKit library for Next.js provides convenient helpers for authentication and session management using WorkOS & AuthKit with Next.js. In affected versions refresh tokens are logged to the console when the disabled by default `debug` flag, is enabled. This issue has been patched in version 0.13.2 and all users are advised to upgrade. There are no known workarounds for this vulnerability."}],"affected":[{"vendor":"workos","product":"authkit-nextjs","versions":[{"version":"< 0.13.2","status":"affected"}]}],"references":[{"url":"https://github.com/workos/authkit-nextjs/security/advisories/GHSA-5wmg-9cvh-qw25","name":"https://github.com/workos/authkit-nextjs/security/advisories/GHSA-5wmg-9cvh-qw25","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/workos/authkit-nextjs/commit/15a332632f7560b03cc6d8cc8da24fd2ac931da7","name":"https://github.com/workos/authkit-nextjs/commit/15a332632f7560b03cc6d8cc8da24fd2ac931da7","tags":["x_refsource_MISC"]},{"url":"https://github.com/workos/authkit-nextjs/releases/tag/v0.13.2","name":"https://github.com/workos/authkit-nextjs/releases/tag/v0.13.2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":2.1,"baseSeverity":"LOW","vectorString":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-532","lang":"en","description":"CWE-532: Insertion of Sensitive Information into Log File","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-11-05T19:16:41.831Z"},"source":{"advisory":"GHSA-5wmg-9cvh-qw25","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-11-05T20:14:57.346838Z","id":"CVE-2024-51752","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-11-05T20:15:07.923Z"}}]}}}