Skip to content

The AuthKit Remix Library renders sensitive auth data in HTML

High severity GitHub Reviewed Published Aug 8, 2025 in workos/authkit-remix • Updated Sep 25, 2025

Package

npm @workos-inc/authkit-remix (npm)

Affected versions

< 0.15.0

Patched versions

0.15.0

Description

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.

References

@marji-workos marji-workos published to workos/authkit-remix Aug 8, 2025
Published to the GitHub Advisory Database Aug 8, 2025
Reviewed Aug 8, 2025
Published by the National Vulnerability Database Aug 9, 2025
Last updated Sep 25, 2025

Severity

High

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
Low

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L

EPSS score

Exploit Prediction Scoring System (EPSS)

This score estimates the probability of this vulnerability being exploited within the next 30 days. Data provided by FIRST.
(27th percentile)

Weaknesses

Exposure of Sensitive Information to an Unauthorized Actor

The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. Learn more on MITRE.

CVE ID

CVE-2025-55009

GHSA ID

GHSA-v3gr-w9gf-23cx

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.