{"id":"GHSA-vqvc-9q8x-vmq6","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.","aliases":["CVE-2025-55008"],"modified":"2025-08-11T13:57:10Z","published":"2025-08-08T17:04:11Z","database_specific":{"nvd_published_at":"2025-08-09T03:15:47Z","cwe_ids":["CWE-200"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2025-08-08T17:04:11Z"},"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"}],"affected":[{"package":{"name":"@workos-inc/authkit-react-router","ecosystem":"npm","purl":"pkg:npm/%40workos-inc/authkit-react-router"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.7.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-vqvc-9q8x-vmq6/GHSA-vqvc-9q8x-vmq6.json"}}],"schema_version":"1.9.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"}]}