Vulnerabilities in pkg:npm/@workos-inc/authkit-react-router
PACKAGECVE-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.
pkg:npm/@workos-inc/authkit-react-router
Vulnerability advisories affecting package pkg:npm/@workos-inc/authkit-react-router. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-vqvc-9q8x-vmq6 | CVE-2025-55008 | HIGH | The AuthKit React Router Library rendered sensitive auth data in HTML |
CVE-2025-55008 at a Glance
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).
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.
npm install @workos-inc/authkit-react-router@0.7.0
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
CVE-2025-55008 Affected @workos inc/authkit react router Versions
1 component(s)| 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?
Which @workos inc/authkit react router versions are affected?
What version fixes CVE-2025-55008?
Is @workos-inc/authkit-react-router affected?
What is the CVSS score of CVE-2025-55008?
What CWE is associated with CVE-2025-55008?
How can I check npm dependencies for CVE-2025-55008?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}