Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-vp58-j275-797x

Опубликовано: 24 фев. 2025
Источник: github
Github: Прошло ревью
CVSS3: 7.1

Описание

Better Auth allows bypassing the trustedOrigins Protection which leads to ATO

Summary

A bypass was discovered in the trustedOrigins validation logic—affecting both absolute URL entries and wildcard domain patterns. This flaw allows an attacker to construct a malicious callbackURL that passes origin checks and triggers an open redirect.

Because redirect endpoints include sensitive tokens (such as password-reset tokens), this vulnerability can enable one-click account takeover if a victim clicks a crafted link.

Пакеты

Наименование

better-auth

npm
Затронутые версииВерсия исправления

<= 1.1.20

1.1.21

7.1 High

CVSS3

Дефекты

CWE-601

7.1 High

CVSS3

Дефекты

CWE-601