CVE-2024-53274: GHSL-2024-111: Reflected XSS in /home in habitica

2.0 CVSS

Description

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.

Classification

CVE ID: CVE-2024-53274

CVSS Base Severity: LOW

CVSS Base Score: 2.0

Affected Products

Vendor: HabitRPG

Product: habatica

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 11.44% (scored less or equal to compared to others)

EPSS Date: 2025-02-03 (when was this score calculated)

References

https://securitylab.github.com/advisories/GHSL-2024-109_GHSL-2024-111_habitica/
https://github.com/HabitRPG/habitica/commit/946ade5da1f52a804ef2ba76d49416c43e8166bf

Timeline