A DOM-based Cross-Site Scripting (XSS) issue exists on the signup page. The application improperly trusts the `next` URL parameter, which is passed to the `router.push()` function. This allows an attacker to craft a malicious link that, when opened by an authenticated user, performs a client-side redirect and executes arbitrary JavaScript in the browser context. Potential impacts include credential theft, internal network pivoting, and unauthorized actions performed on behalf of the victim.