CVE-2025-55009: @workos inc/authkit remix The AuthKit Remix Library Renders Vulnerability

HIGH
Advisory Identifier: GHSA-v3gr-w9gf-23cx
CVSS 7.1
CWE-200
Published
Advisory Summary

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

CVE-2025-55009 at a Glance

CVE Identifier CVE-2025-55009
GHSA Identifier GHSA-v3gr-w9gf-23cx
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 remix
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-55009

To remediate this vulnerability, upgrade all affected @workos inc/authkit remix 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-remix fixed: 0.15.0
npm install @workos-inc/authkit-remix@0.15.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-remix

How to Check if You Are Affected

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

npm ls @workos-inc/authkit-remix

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

Note: The npm ls @workos-inc/authkit-remix 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 remix, 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

### Summary Before `0.15.0`, `@workos-inc/authkit-remix` returned sensitive authentication artifacts from the `authkitLoader`, specifically `sealedSession` and `accessToken`. Because these values were returned from the loader, they were embedded into the server-rendered HTML and became readable by any script with access to the page’s DOM (e.g., in the presence of XSS or a malicious browser extension). * **Impact:** Exposure of these secrets can lead to session hijacking and unauthorized API access. * **Fix:** Version `0.15.0` changes the default behavior so the loader no longer returns `sealedSession`/`accessToken`. A secure server-side mechanism is provided to fetch an access token when needed. ### Patches Patched in [v0.15.0](https://github.com/workos/authkit-remix/releases/tag/v0.15.0).

CVE-2025-55009 Affected @workos inc/authkit remix Versions

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

References

Frequently Asked Questions

What is CVE-2025-55009?
CVE-2025-55009 is a security vulnerability in @workos inc/authkit remix involving The AuthKit Remix Library renders sensitive auth data in HTML under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which @workos inc/authkit remix versions are affected?
Affected versions include releases prior to 0.15.0 across affected packages: @workos-inc/authkit-remix.
What version fixes CVE-2025-55009?
Upgrading to 0.15.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @workos-inc/authkit-remix affected?
Yes, @workos-inc/authkit-remix is affected in releases prior to 0.15.0. Upgrade your dependency to 0.15.0 or later.
What is the CVSS score of CVE-2025-55009?
CVE-2025-55009 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-55009?
CVE-2025-55009 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-55009?
Run the dependency tree command: 'npm ls @workos-inc/authkit-remix'. 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-v3gr-w9gf-23cx",
  "modified" : "2025-09-25T22:56:19Z",
  "published" : "2025-08-08T17:08:46Z",
  "aliases" : [ "CVE-2025-55009" ],
  "summary" : "The AuthKit Remix Library renders sensitive auth data in HTML",
  "details" : "### Summary\n\nBefore `0.15.0`, `@workos-inc/authkit-remix` returned sensitive authentication artifacts from the `authkitLoader`, specifically `sealedSession` and `accessToken`. Because these values were returned from the loader, they were embedded into the server-rendered HTML and became readable by any script with access to the page’s DOM (e.g., in the presence of XSS or a malicious browser extension).\n\n*   **Impact:** Exposure of these secrets can lead to session hijacking and unauthorized API access.\n*   **Fix:** Version `0.15.0` changes the default behavior so the loader no longer returns `sealedSession`/`accessToken`. A secure server-side mechanism is provided to fetch an access token when needed.\n\n### Patches\n\nPatched in [v0.15.0](https://github.com/workos/authkit-remix/releases/tag/v0.15.0).",
  "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-remix"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.15.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/workos/authkit-remix/security/advisories/GHSA-v3gr-w9gf-23cx"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-55009"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/workos/authkit-remix/commit/20102afc74bf3dd5150a975a098067fb406b90b6"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/workos/authkit-remix"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/workos/authkit-remix/releases/tag/v0.15.0"
  }, {
    "type" : "WEB",
    "url" : "https://osv.dev/vulnerability/CVE-2025-55009"
  }, {
    "type" : "WEB",
    "url" : "https://osv.dev/vulnerability/GHSA-v3gr-w9gf-23cx"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-08-08T17:08:46Z",
    "nvd_published_at" : "2025-08-09T03:15:47Z"
  }
}