CVE-2024-53273
Habitica is an open-source habit-building program. Versions prior to 5.28.5 are vulnerable to reflected cross-site scripting. The `register` function in `RegisterLoginReset.vue` contains a reflected XSS vulnerability due to an incorrect sanitization function. An attacker can specify a malicious `redirectTo` parameter to trigger the vulnerability, giving the attacker control of the victim’s account when a victim registers or logins with a specially crafted link. Version 5.28.5 contains a patch.
- Score
- CVSS 3.1 6.1 Medium
- Status
- Analyzed - security-advisories@github.com
- Published
- 2024-12-12
- Last modified
- 2024-12-12
- Weaknesses
- CWE-79
Affected products
References
- https://github.com/HabitRPG/habitica/commit/946ade5da1f52a804ef2ba76d49416c43e8166bf
- https://securitylab.github.com/advisories/GHSL-2024-109_GHSL-2024-111_habitica/