CVE-2026-67328: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in better-auth sso
@better-auth/sso versions before 1.6.21 contain multiple authentication bypass vulnerabilities in SSO provider handling that allow attackers to sign in as arbitrary users. Attackers can exploit domain verification parsing mismatches, orphaned provider accounts, unbound SAML assertions, or reflected XSS on logout endpoints to gain unauthorized session access and account takeover.
AI Analysis
Technical Summary
CVE-2026-67328 affects better-auth sso versions prior to 1.6.21 and involves multiple authentication bypass vulnerabilities in the handling of single sign-on (SSO) providers. The vulnerabilities arise from domain verification parsing mismatches, orphaned provider accounts, unbound SAML assertions, and reflected XSS on logout endpoints. These flaws enable attackers to bypass authentication controls and impersonate arbitrary users, potentially resulting in unauthorized session access and account takeover. The CVSS 4.0 base score is 8.6, indicating high severity with network attack vector, low attack complexity, no privileges required, no user interaction, and high impact on confidentiality and integrity.
Potential Impact
Successful exploitation allows attackers to bypass authentication mechanisms and gain unauthorized access to user sessions, leading to account takeover. This compromises confidentiality and integrity of user accounts and sessions within the better-auth sso system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should monitor vendor communications for updates and consider restricting access or implementing additional authentication controls to mitigate risk.
CVE-2026-67328: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in better-auth sso
Description
@better-auth/sso versions before 1.6.21 contain multiple authentication bypass vulnerabilities in SSO provider handling that allow attackers to sign in as arbitrary users. Attackers can exploit domain verification parsing mismatches, orphaned provider accounts, unbound SAML assertions, or reflected XSS on logout endpoints to gain unauthorized session access and account takeover.
CVSS v4.0
Score 8.6high
Affected software
better-auth
sso
better-auth
sso
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-67328 affects better-auth sso versions prior to 1.6.21 and involves multiple authentication bypass vulnerabilities in the handling of single sign-on (SSO) providers. The vulnerabilities arise from domain verification parsing mismatches, orphaned provider accounts, unbound SAML assertions, and reflected XSS on logout endpoints. These flaws enable attackers to bypass authentication controls and impersonate arbitrary users, potentially resulting in unauthorized session access and account takeover. The CVSS 4.0 base score is 8.6, indicating high severity with network attack vector, low attack complexity, no privileges required, no user interaction, and high impact on confidentiality and integrity.
Potential Impact
Successful exploitation allows attackers to bypass authentication mechanisms and gain unauthorized access to user sessions, leading to account takeover. This compromises confidentiality and integrity of user accounts and sessions within the better-auth sso system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should monitor vendor communications for updates and consider restricting access or implementing additional authentication controls to mitigate risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-07-29T13:07:47.015Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a6deb26bf32cb7a34c1fc1d
Added to database: 08/01/2026, 12:48:38 UTC
Last enriched: 08/16/2026, 13:42:38 UTC
Last updated: 09/14/2026, 10:01:32 UTC
Views: 63
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.