Skip to content
OpenAdvisories
Medium · 5.0 CVE-2024-53272 EUVD-2024-51927

GHSL-2024-109: Reflected XSS in /login in habitica

Published Dec 11, 2024 · Updated Dec 12, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
HabitRPG habatica < 5.28.5 —

References