PT-2025-32421 · Workos · Authkit-React-Router
Marji-Workos
·
Published
2025-08-08
·
Updated
2025-08-09
·
CVE-2025-55008
CVSS v3.1
7.1
High
| Vector | AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L |
Name of the Vulnerable Software and Affected Versions
@workos-inc/authkit-react-router versions 0.6.1 and below
Description
The AuthKit library for React Router exposes sensitive authentication artifacts – specifically
sealedSession and accessToken – by returning them from the authkitLoader, causing them to be rendered into the browser HTML. This information disclosure could lead to session hijacking in environments where cross-site scripting (XSS), malicious browser extensions, or local inspection is possible.Recommendations
Update to version 0.7.0 or later.
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.Exploit
Fix
Information Disclosure
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Authkit-React-Router