ghsa-v3gr-w9gf-23cx
Vulnerability from github
Published
2025-08-08 17:08
Modified
2025-09-25 22:56
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.

Show details on source website


{
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "@workos-inc/authkit-remix"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.15.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2025-55009"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-200"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2025-08-08T17:08:46Z",
    "nvd_published_at": "2025-08-09T03:15:47Z",
    "severity": "HIGH"
  },
  "details": "### Summary\n\nBefore `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\u2019s DOM (e.g., in the presence of XSS or a malicious browser extension).\n\n*   **Impact:** Exposure of these secrets can lead to session hijacking and unauthorized API access.\n*   **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.\n\n### Patches\n\nPatched in [v0.15.0](https://github.com/workos/authkit-remix/releases/tag/v0.15.0).",
  "id": "GHSA-v3gr-w9gf-23cx",
  "modified": "2025-09-25T22:56:19Z",
  "published": "2025-08-08T17:08:46Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/workos/authkit-remix/security/advisories/GHSA-v3gr-w9gf-23cx"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-55009"
    },
    {
      "type": "WEB",
      "url": "https://github.com/workos/authkit-remix/commit/20102afc74bf3dd5150a975a098067fb406b90b6"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/workos/authkit-remix"
    },
    {
      "type": "WEB",
      "url": "https://github.com/workos/authkit-remix/releases/tag/v0.15.0"
    },
    {
      "type": "WEB",
      "url": "https://osv.dev/vulnerability/CVE-2025-55009"
    },
    {
      "type": "WEB",
      "url": "https://osv.dev/vulnerability/GHSA-v3gr-w9gf-23cx"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "The AuthKit Remix Library renders sensitive auth data in HTML"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…