{"id":"CVE-2024-51752","summary":"Refresh tokens are logged when the debug flag is enabled in @workos-inc/authkit-nextjs","details":"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.","aliases":["GHSA-5wmg-9cvh-qw25"],"modified":"2026-08-12T03:51:11.368474571Z","published":"2024-11-05T19:16:41.831Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-532"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/51xxx/CVE-2024-51752.json"},"references":[{"type":"WEB","url":"https://github.com/workos/authkit-nextjs/releases/tag/v0.13.2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/51xxx/CVE-2024-51752.json"},{"type":"ADVISORY","url":"https://github.com/workos/authkit-nextjs/security/advisories/GHSA-5wmg-9cvh-qw25"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-51752"},{"type":"FIX","url":"https://github.com/workos/authkit-nextjs/commit/15a332632f7560b03cc6d8cc8da24fd2ac931da7"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/workos/authkit-nextjs","events":[{"introduced":"0"},{"fixed":"15a332632f7560b03cc6d8cc8da24fd2ac931da7"}],"database_specific":{"cpe":"cpe:2.3:a:workos:authkit-nextjs:*:*:*:*:*:node.js:*:*","extracted_events":[{"introduced":"0"},{"fixed":"0.13.2"}],"source":["AFFECTED_FIELD","CPE_RANGE","REFERENCES"]}}],"versions":["v0.13.1","v0.13.0","v0.12.3","v0.12.2","v0.12.1","v0.12.0","v0.11.2","v0.11.1","v0.11.0","v0.10.1","v0.10.0","v0.9.0","v0.8.2","v0.8.1","v0.8.0","v0.7.0","v0.6.2","v0.6.1","v0.6.0","v0.5.3","v0.5.2","v0.5.1","v0.5.0","v0.4.2","v0.4.1","v0.4.0","v0.3.0","v0.3.0-rc.0","v0.2.0","v0.1.0","v0.1.0-rc.3","v0.1.0-rc.2","v0.1.0-rc.1","v0.1.0-rc.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-51752.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}