### [CVE-2024-53272](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-53272) ![](https://img.shields.io/static/v1?label=Product&message=habatica&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=%3C%205.28.5%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%3A%20Improper%20Neutralization%20of%20Input%20During%20Web%20Page%20Generation%20('Cross-site%20Scripting')&color=brightgreen) ### 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. ### POC #### Reference - https://securitylab.github.com/advisories/GHSL-2024-109_GHSL-2024-111_habitica/ #### Github No PoCs found on GitHub currently.