GHSL-2024-111: Reflected XSS in /home in habitica
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA habatica (HabitRPG) Fixed in 5.28.5
Timeline
- 2026-10-02 Threatist record created from CVE-2024-53274
References
More HabitRPG Habitica vulnerabilities
- TI-2024-35735 GHSL-2024-110: Reflected XSS in /register in habitica CVSS 4.0MEDIUM 5.0
- TI-2024-35734 GHSL-2024-109: Reflected XSS in /login in habitica CVSS 4.0MEDIUM 5.0
- TI-2022-07246 Habitica - DOM XSS in login page CVSS 3.1MEDIUM 6.1
- TI-2022-07247 Habitica - Open redirect in login page CVSS 2.0MEDIUM 5.8
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences