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 `home.vue` containsa reflected XSS vulnerability due to an incorrect sanitization function. An attacker can specify a malicious `redirectTo` parameter to trigger the vulnerability. Arbitrary javascript can be executed by the attacker in the context of the victim’s session. 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/ | Exploit Third Party Advisory |
Configurations
History
05 Sep 2025, 21:37
Type | Values Removed | Values Added |
---|---|---|
CPE | cpe:2.3:a:habitica:habitica:*:*:*:*:*:*:*:* | |
References | () https://github.com/HabitRPG/habitica/commit/946ade5da1f52a804ef2ba76d49416c43e8166bf - Patch | |
References | () https://securitylab.github.com/advisories/GHSL-2024-109_GHSL-2024-111_habitica/ - Exploit, Third Party Advisory | |
Summary |
|
|
First Time |
Habitica habitica
Habitica |
|
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 6.1 |
12 Dec 2024, 02:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2024-12-12 02:15
Updated : 2025-09-05 21:37
NVD link : CVE-2024-53274
Mitre link : CVE-2024-53274
CVE.ORG link : CVE-2024-53274
JSON object : View
Products Affected
habitica
- habitica
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')