CVE-2024-51752
JSON

2.1low

Refresh tokens are logged when the debug flag is enabled in @workos-inc/authkit-nextjs

Severity
2.1low CVSS:4.0 by GitHub_M
Exploit likelihood
0.25% (higher than 16% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-5wmg-9cvh-qw25

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.

Affected

Product or packageVersionsReported by
workos authkit-nextjs< 0.13.2, before 0.13.2CVE List, NVD
@workos-inc/authkit-nextjs (npm)before 0.13.2GitHub Advisory Database

All scores

GitHub_M2.1low CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
GitHublow CVSS:4.0CVSS: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
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-532

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
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

NVD (es)

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-51752 changed 2024-11-05CVE Terms of Use
GitHub Advisory DatabaseGHSA-5wmg-9cvh-qw25 changed 2024-11-05CC-BY-4.0
NVDCVE-2024-51752 changed 2026-06-17Public domain