Habitica is an open-source habit-building program. Versions prior to 5.28.5 are vulnerable to reflected cross-site scripting. The `login` and `social media` function in `RegisterLoginReset.vue` contains two reflected XSS vulnerabilities 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.
References
Link | Resource |
---|---|
https://github.com/HabitRPG/habitica/commit/946ade5da1f52a804ef2ba76d49416c43e8166bf | Patch |
https://securitylab.github.com/advisories/GHSL-2024-109_GHSL-2024-111_habitica/ | Third Party Advisory Exploit |
Configurations
History
05 Sep 2025, 21:38
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 6.1 |
First Time |
Habitica habitica
Habitica |
|
CPE | cpe:2.3:a:habitica:habitica:*:*:*:*:*:*:*:* | |
Summary |
|
|
References | () https://github.com/HabitRPG/habitica/commit/946ade5da1f52a804ef2ba76d49416c43e8166bf - Patch | |
References | () https://securitylab.github.com/advisories/GHSL-2024-109_GHSL-2024-111_habitica/ - Third Party Advisory, Exploit |
12 Dec 2024, 02:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2024-12-12 02:15
Updated : 2025-09-05 21:38
NVD link : CVE-2024-53272
Mitre link : CVE-2024-53272
CVE.ORG link : CVE-2024-53272
JSON object : View
Products Affected
habitica
- habitica
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')