CVE-2025-55008 AuthKit React Router: Sensitive auth data rendered in HTML
Attackers can view sensitive authentication tokens in browser HTML due to improper data exposure in the AuthKit React Router library.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-55008?
CVE-2025-55008 is a high-severity vulnerability in workos authkit-react-router, published on 9 Aug 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The AuthKit library for React Router 7+ provides helpers for authentication and session management using WorkOS & AuthKit with React Router. In versions 0.6.1 and below, @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. This issue is fixed in version 0.7.0.
Weakness: CWE-200
Which versions are affected by CVE-2025-55008?
2 open source packages ship an affected version, including @workos-inc/authkit-react-router.
| Package | Affected | Fixed in |
|---|---|---|
@workos-inc/authkit-react-router npm | All versions | 0.7.0 |
@workos-inc/authkit-react-router npm | All versions | 0.7.0 |
How do I fix CVE-2025-55008?
Upgrade @workos-inc/authkit-react-router to 0.7.0 or later.
Is CVE-2025-55008 being exploited?
There is no known exploitation of CVE-2025-55008 in the wild and no public exploit code.
Sources
Also known as GHSA-vqvc-9q8x-vmq6.