Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Habitica | Habitica | < 5.28.5 |
Related Weaknesses (CWE)
References
- https://github.com/HabitRPG/habitica/commit/946ade5da1f52a804ef2ba76d49416c43e81Patch
- https://securitylab.github.com/advisories/GHSL-2024-109_GHSL-2024-111_habitica/ExploitThird Party Advisory
FAQ
What is CVE-2024-53272?
CVE-2024-53272 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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` contai...
How severe is CVE-2024-53272?
CVE-2024-53272 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-53272?
Check the references section above for vendor advisories and patch information. Affected products include: Habitica Habitica.