Home

Description

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.

PUBLISHED Reserved 2024-11-19 | Published 2024-12-11 | Updated 2024-12-12 | Assigner GitHub_M




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

Problem types

CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Product status

< 5.28.5
affected

References

securitylab.github.com/...L-2024-109_GHSL-2024-111_habitica/

github.com/...ommit/946ade5da1f52a804ef2ba76d49416c43e8166bf

cve.org (CVE-2024-53274)

nvd.nist.gov (CVE-2024-53274)

Download JSON