{"cve":"CVE-2024-51752","nvd":{"published":"2024-11-05T20:15:15.167","modified":"2026-06-17T08:06:16.003","status":"Analyzed","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.","cvss_v4":{"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},"cvss_v3":{"version":"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},"cwes":["CWE-532"],"references":["https://github.com/workos/authkit-nextjs/commit/15a332632f7560b03cc6d8cc8da24fd2ac931da7","https://github.com/workos/authkit-nextjs/releases/tag/v0.13.2","https://github.com/workos/authkit-nextjs/security/advisories/GHSA-5wmg-9cvh-qw25"],"products":["workos:authkit-nextjs"],"source":"nvd","synced_at":"2026-10-19T21:57:07.693694550+00:00"},"epss":{"cve":"CVE-2024-51752","score":0.00246,"percentile":0.15858,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-5wmg-9cvh-qw25","url":"https://osv.dev/vulnerability/GHSA-5wmg-9cvh-qw25","summary":"@workos-inc/authkit-nextjs refresh tokens are logged when the debug flag is enabled","modified":"2024-11-05T21:37:24Z","packages":[{"ecosystem":"npm","name":"@workos-inc/authkit-nextjs","purl":"pkg:npm/%40workos-inc/authkit-nextjs","ranges":["<0.13.2"],"fixed":["0.13.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}