Description
V2Board 1.6.1 through 1.7.4 and Xboard through 0.1.9 expose authentication tokens in HTTP response bodies of the loginWithMailLink endpoint when the login_with_mail_link_enable feature is active. Unauthenticated attackers can POST to the loginWithMailLink endpoint with a known email address to receive the full authentication URL in the response, then exchange the token at the token2Login endpoint to obtain a valid bearer token with complete account access including admin privileges.
Problem types
CWE-201 Insertion of Sensitive Information Into Sent Data
Product status
1.6.1 (semver)
bdb10bed32c5f37df2f0872c3cb354e9b7a293bd (git)
Any version
121511523f04882ec0c7447acd9b8ebcb8a47957 (git)
Credits
Valentin Lobstein (Chocapikk)
References
chocapikk.com/posts/2026/xboard-v2board-account-takeover/
github.com/v2board/v2board/pull/981
github.com/cedar2025/Xboard/pull/873
github.com/...p/Http/Controllers/Passport/AuthController.php
github.com/...78d660bc/app/Services/Auth/MailLinkService.php
github.com/...ttp/Controllers/V1/Passport/AuthController.php
github.com/...ommit/121511523f04882ec0c7447acd9b8ebcb8a47957
www.vulncheck.com/...on-token-exposure-via-loginwithmaillink