medium5.5
CVE-2024-51752
@workos-inc/authkit-nextjs refresh tokens are logged when the debug flag is enabled
Impact
### Impact Refresh tokens are logged to the console when the disabled by default `debug` flag, is enabled. ### Patches Patched in [https://github.com/workos/authkit-nextjs/releases/tag/v0.13.2](https://github.com/workos/authkit-nextjs/releases/tag/v0.13.2)
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @workos-inc/authkit-nextjs | < 0.13.2 | 0.13.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Workos | Authkit-Nextjs | before 0.13.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- 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
- https://github.com/advisories/GHSA-5wmg-9cvh-qw25
- https://nvd.nist.gov/vuln/detail/CVE-2024-51752