XSS in Habitica
CVE-2024-53274
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.005 (37.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 38th percentile — 37.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.005 · change: +0.000
Affected products
- Habitica
- Habitrpg Habatica — versions < 5.28.5
Weakness classification (CWE)
References
- securitylab.github.com/advisories/GHSL-2024-109_GHSL-2024-111_habitica/ (Exploit, Third Party Advisory)
- github.com/HabitRPG/habitica/commit/946ade5da1f52a804ef2ba76d49416c43e8166bf (Patch)
Frequently asked questions
- What is CVE-2024-53274?
- CVE-2024-53274 is a medium-severity vulnerability in Habitica, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2024-12-12.
- How severe is CVE-2024-53274?
- Medium severity. CVSS v3 base score is 6.1 out of 10.