CVE-2024-53274: Habitica

Medium severity, CVSS 6.1. EPSS: 0.5% chance of exploitation in the next 30 days.

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.

Affected products

  • Habitica Habitica: before 5.28.5 (fixed in 5.28.5)

Published 2024-12-12. Last modified 2026-06-17.