Insertion of Sensitive Information into Log File Affecting @workos-inc/authkit-nextjs package, versions <0.13.2


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.05% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-WORKOSINCAUTHKITNEXTJS-8344764
  • published 6 Nov 2024
  • disclosed 5 Nov 2024
  • credit Unknown

How to fix?

Upgrade @workos-inc/authkit-nextjs to version 0.13.2 or higher.

Overview

@workos-inc/authkit-nextjs is an Authentication and session helpers for using WorkOS & AuthKit with Next.js

Affected versions of this package are vulnerable to Insertion of Sensitive Information into Log File due to the debug flag, which logs sensitive information to the console. An attacker can access refresh tokens.

Note: This is only exploitable if the debug flag is manually enabled, as it is disabled by default.

References

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
2 low
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    Present
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    Low
  • Integrity (VI)
    None
  • Availability (VA)
    None
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None