{"id":"CVE-2024-51752","aliases":["CVE-2024-51752","GHSA-5wmg-9cvh-qw25"],"related":[],"kind":"vulnerability","state":"published","title":"Refresh tokens are logged when the debug flag is enabled in @workos-inc/authkit-nextjs","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nRefresh tokens are logged to the console when the disabled by default `debug` flag, is enabled.\n\n### Patches\nPatched in [https://github.com/workos/authkit-nextjs/releases/tag/v0.13.2](https://github.com/workos/authkit-nextjs/releases/tag/v0.13.2)","format":"markdown","source":"ghsa"},{"lang":"es","text":"La librería AuthKit para Next.js ofrece ayudas prácticas para la autenticación y la gestión de sesiones mediante WorkOS y AuthKit con Next.js. En las versiones afectadas, los tokens de actualización se registran en la consola cuando se habilita la bandera `debug` (deshabilitada de forma predeterminada). Este problema se ha corregido en la versión 0.13.2 y se recomienda a todos los usuarios que actualicen. No existen workarounds conocidos para esta vulnerabilidad.","source":"nvd"}],"published":"2024-11-05T17:34:23.000Z","modified":"2026-06-17T08:06:16.003Z","severity":{"scorer":"GitHub_M","scheme":"CVSS: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","score":2.1,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS: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","score":2.1,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U","rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-532"],"affected":[{"ranges":[{"version":"< 0.13.2","status":"affected"}],"vendor":"workos","product":"authkit-nextjs","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.13.2"}],"ecosystem":"npm","package":"@workos-inc/authkit-nextjs","purl":"pkg:npm/%40workos-inc/authkit-nextjs","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.13.2"}],"vendor":"workos","product":"authkit-nextjs","cpe":"cpe:2.3:a:workos:authkit-nextjs:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/workos/authkit-nextjs/security/advisories/GHSA-5wmg-9cvh-qw25","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/workos/authkit-nextjs/commit/15a332632f7560b03cc6d8cc8da24fd2ac931da7","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/workos/authkit-nextjs/releases/tag/v0.13.2","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-51752","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/workos/authkit-nextjs","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-11-05T20:14:57.346Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-51752","url":"https://www.cve.org/CVERecord?id=CVE-2024-51752","licence":"CVE Terms of Use","modified":"2024-11-05T20:15:07.923Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5wmg-9cvh-qw25","url":"https://github.com/advisories/GHSA-5wmg-9cvh-qw25","licence":"CC-BY-4.0","modified":"2024-11-05T21:37:24.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-51752","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-51752","licence":"Public domain","modified":"2026-06-17T08:06:16.003Z"}],"updatedAt":"2026-11-25T22:58:47.802Z","epss":{"score":0.00246,"percentile":0.16905,"date":"2026-12-01T12:00:22.000Z"}}