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).
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.Patched in v0.15.0.
{ "cwe_ids": [ "CWE-200" ], "nvd_published_at": "2025-08-09T03:15:47Z", "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2025-08-08T17:08:46Z" }