GHSA-v3gr-w9gf-23cx

Suggest an improvement
Source
https://github.com/advisories/GHSA-v3gr-w9gf-23cx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-v3gr-w9gf-23cx/GHSA-v3gr-w9gf-23cx.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-v3gr-w9gf-23cx
Aliases
Published
2025-08-08T17:08:46Z
Modified
2025-09-25T22:56:19Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L CVSS Calculator
Summary
The AuthKit Remix Library renders sensitive auth data in HTML
Details

Summary

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).

  • Impact: Exposure of these secrets can lead to session hijacking and unauthorized API access.
  • Fix: Version 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.

Patches

Patched in v0.15.0.

Database specific
{
    "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"
}
References

Affected packages

npm / @workos-inc/authkit-remix

Package

Name
@workos-inc/authkit-remix
View open source insights on deps.dev
Purl
pkg:npm/%40workos-inc/authkit-remix

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.15.0