{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-51752","id":"CVE-2024-51752","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.","descriptionLong":"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.","published":"2024-11-05T19:16:41.831Z","updated":"2026-10-28T02:30:53.211716537Z","reserved":"2024-10-31T14:12:45.791Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":2.1,"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","rating":"low","source":"GitHub_M"},"metrics":[{"version":"4.0","score":2.1,"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","rating":"low","source":"GitHub_M"},{"version":"4.0","score":2.1,"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/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","rating":"low","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","source":"GitHub"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"}],"rating":"low","products":["workos authkit-nextjs"],"affectedProducts":[{"vendor":"workos","product":"authkit-nextjs","defaultStatus":null,"versions":[{"version":"< 0.13.2","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@workos-inc/authkit-nextjs","purl":"pkg:npm/%40workos-inc/authkit-nextjs","ranges":["<0.13.2"],"fixed":["0.13.2"],"advisory":"GHSA-5wmg-9cvh-qw25"}],"cwes":["CWE-532"],"aliases":["GHSA-5wmg-9cvh-qw25"],"references":[{"url":"https://github.com/workos/authkit-nextjs/security/advisories/GHSA-5wmg-9cvh-qw25","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://github.com/workos/authkit-nextjs/commit/15a332632f7560b03cc6d8cc8da24fd2ac931da7","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/workos/authkit-nextjs/releases/tag/v0.13.2","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/51xxx/CVE-2024-51752.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-51752","tags":["advisory"]},{"url":"https://github.com/workos/authkit-nextjs","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00246,"epssPercentile":0.15986,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-51752","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-51752","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-51752","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-5wmg-9cvh-qw25","ok":true,"note":"GHSA-5wmg-9cvh-qw25"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-51752","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["nextjs"],"critical":[],"attention":null}