CVE-2024-53272 GHSL-2024-109: Reflected XSS in /login in habitica
MediumCVSS 5.0
EPSS 0.48%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
Habitica is an open-source habit-building program. Versions prior to 5.28.5 are vulnerable to reflected cross-site scripting. The login and social media function in RegisterLoginReset.vue contains two reflected XSS vulnerabilities due to an incorrect sanitization function. An attacker can specify a malicious redirectTo parameter to trigger the vulnerability, giving the attacker control of the victim’s account when a victim registers or logins with a specially crafted link. Version 5.28.5 contains a patch.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| habitica | < 5.28.5 | 5.28.5 | Fixed |
| HabitRPG habatica | = < 5.28.5 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| HabitRPG habatica | = < 5.28.5 | No fix listed |
| habitica | < 5.28.5 | 5.28.5 |