CVE-2025-55008: @workos inc/authkit react router The AuthKit React Router Library Vulnerability

HIGH
Advisory Identifier: GHSA-vqvc-9q8x-vmq6
CVSS 7.1
CWE-200
Published
Advisory Summary

CVE-2025-55008 is a HIGH (CVSS 7.1) the authkit react router library vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting @workos inc/authkit react router libraries in the npm ecosystem. The issue involves the authkit react router library rendered sensitive auth data in html. Remediation is available by upgrading affected packages to version 0.7.0.

CVE-2025-55008 at a Glance

CVE Identifier CVE-2025-55008
GHSA Identifier GHSA-vqvc-9q8x-vmq6
Severity HIGH
CVSS v3.1 Base Score 7.1
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product @workos inc/authkit react router
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 7.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability Low (A:L)

How to Fix CVE-2025-55008

To remediate this vulnerability, upgrade all affected @workos inc/authkit react router dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@workos-inc/authkit-react-router fixed: 0.7.0
npm install @workos-inc/authkit-react-router@0.7.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @workos-inc/authkit-react-router

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2025-55008, inspect your project dependencies using npm:

npm ls @workos-inc/authkit-react-router

Analyze the terminal output to locate any version of @workos inc/authkit react router in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.7.0), your application is affected.

Note: The npm ls @workos-inc/authkit-react-router command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In @workos inc/authkit react router, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

In versions before `0.7.0`, `@workos-inc/authkit-react-router` exposed sensitive authentication artifacts — specifically `sealedSession` and `accessToken` by returning them from the `authkitLoader`. This caused them to be rendered into the browser HTML. ### Impact This information disclosure could lead to session hijacking in environments where cross-site scripting (XSS), malicious browser extensions, or local inspection is possible. ### Patches Patched in [https://github.com/workos/authkit-react-router/releases/tag/v0.7.0](https://github.com/workos/authkit-react-router/releases/tag/v0.7.0) In patched versions: - `sealedSession` and `accessToken` are no longer returned by default from the `authkitLoader`. - A secure server-side mechanism is provided to fetch an access token as needed.

CVE-2025-55008 Affected @workos inc/authkit react router Versions

1 component(s)
Fixed Versions:
0.7.0
Product / Package Ecosystem Affected Versions Fixed Version
@workos-inc/authkit-react-router
npm
< 0.7.0
0.7.0

References

Frequently Asked Questions

What is CVE-2025-55008?
CVE-2025-55008 is a security vulnerability in @workos inc/authkit react router involving The AuthKit React Router Library rendered sensitive auth data in HTML under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which @workos inc/authkit react router versions are affected?
Affected versions include releases prior to 0.7.0 across affected packages: @workos-inc/authkit-react-router.
What version fixes CVE-2025-55008?
Upgrading to 0.7.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @workos-inc/authkit-react-router affected?
Yes, @workos-inc/authkit-react-router is affected in releases prior to 0.7.0. Upgrade your dependency to 0.7.0 or later.
What is the CVSS score of CVE-2025-55008?
CVE-2025-55008 has a CVSS v3.1 base score of 7.1 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L.
What CWE is associated with CVE-2025-55008?
CVE-2025-55008 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check npm dependencies for CVE-2025-55008?
Run the dependency tree command: 'npm ls @workos-inc/authkit-react-router'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-vqvc-9q8x-vmq6",
  "modified" : "2025-08-11T13:57:10Z",
  "published" : "2025-08-08T17:04:11Z",
  "aliases" : [ "CVE-2025-55008" ],
  "summary" : "The AuthKit React Router Library rendered sensitive auth data in HTML",
  "details" : "In versions before `0.7.0`, `@workos-inc/authkit-react-router` exposed sensitive authentication artifacts — specifically `sealedSession` and `accessToken` by returning them from the `authkitLoader`. This caused them to be rendered into the browser HTML.\n\n### Impact\nThis information disclosure could lead to session hijacking in environments where cross-site scripting (XSS), malicious browser extensions, or local inspection is possible.\n \n### Patches\nPatched in [https://github.com/workos/authkit-react-router/releases/tag/v0.7.0](https://github.com/workos/authkit-react-router/releases/tag/v0.7.0)\n\nIn patched versions:\n- `sealedSession` and `accessToken` are no longer returned by default from the `authkitLoader`.\n- A secure server-side mechanism is provided to fetch an access token as needed.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@workos-inc/authkit-react-router"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.7.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/workos/authkit-react-router/security/advisories/GHSA-vqvc-9q8x-vmq6"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-55008"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/workos/authkit-react-router/commit/607caac658784962bab76e227f9c5820d0b9a9e5"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/workos/authkit-react-router"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/workos/authkit-react-router/releases/tag/v0.7.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-08-08T17:04:11Z",
    "nvd_published_at" : "2025-08-09T03:15:47Z"
  }
}