cve/2024/CVE-2024-53274.md
2025-09-29 21:09:30 +02:00

18 lines
1.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### [CVE-2024-53274](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-53274)
![](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 `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 victims session. 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.