CVE-2024-53272 MEDIUM

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

Vendor Habitrpg
Product habatica
Weakness CWE-79 · XSS
Published December 11, 2024
Last update December 12, 2024

CVSS base score

5.0/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:H/SA:N/E:P

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

December 11, 2024 CVE published
December 12, 2024 Record updated