Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-67333 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

Description

better-auth before 1.6.13 (and pre-release builds 1.7.0-beta.0 through 1.7.0-beta.3) fail to validate the scheme of redirect_uris registered via the deprecated oidc-provider plugin and the mcp plugin (which wraps the same provider). An attacker can register an OAuth client with a javascript: redirect_uri, which the authorization server later returns unchanged in the consent response. If the deployment's consent page navigates the browser to the returned redirectURI (e.g. assigning it to window.location.href), the attacker's JavaScript executes in the authorization-server origin, exposing the victim's session and enabling account takeover.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')[email protected]

Affected Products

ProductVersions
better-auth
< 1.6.13 (semver)
>= 1.7.0-beta.0, < 1.7.0-beta.4 (semver)

CPE

  • cpe:2.3:a:better-auth:better_auth:*:*:*:*:*:node.js:*:*

Remediation

  • Upgrade: 1.6.13moderate effort
  • Upgrade: 1.7.0-beta.4moderate effort
  • Workaround:moderate effort

    Harden your consent page to only navigate to the returned value if its scheme is 'http:' or 'https:'. Reject the value when 'new URL(redirectURI).protocol' is neither 'http:' nor 'https:' and show an error instead of navigating.

  • Workaround:moderate effort

    Migrate to '@better-auth/oauth-provider', which validates redirect URIs at registration and is the supported replacement for the deprecated plugin.

  • Workaround:moderate effort

    Keep 'allowDynamicClientRegistration' at its default of 'false' and restrict who can register clients. This does not remove the issue, but it removes the unauthenticated path.

Change History

2 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-67333
NVD Published Date:
Aug 1, 2026
NVD Last Modified:
Sep 8, 2026
Source:
[email protected]
CVE-2026-67333 Details - Not Deferred