SB20261110257 - Open redirect in Habitica
Published: November 10, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Open redirect (CVE-ID: N/A)
CWE-ID: CWE-601 - URL Redirection to Untrusted Site ('Open Redirect')
CVSSv4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to redirect users to an attacker-controlled site through Habitica's authentication flow.
The vulnerability exists due to improper redirect target validation in Habitica's sanitizeRedirect function when processing protocol-relative URLs that are subsequently assigned to window.location.href. A remote attacker can trick a user into following a crafted login URL containing redirectTo=//evil.example/attack to cause navigation to an external origin instead of an application path.
Remediation
Install update from vendor's website.