---
cve: "CVE-2024-53272"
severity: "MEDIUM"
cvss: 5.0
epss: "0.5%"
vendor: "HabitRPG"
kev: false
exploited: false
published: "2024-12-12 02:15:28"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-26T06:55:35+02:00"
---

# CVE-2024-53272

> 5.0 MEDIUM · 🧪 PoC

## Beschreibung

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-Vektor

```
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
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |

## Patch verfügbar (OSV)

- 50cc66d51cdcdd41f750bcb0c6fa7953fa540beb (Commit)
- 946ade5da1f52a804ef2ba76d49416c43e8166bf (Commit)

## Referenzen

- <https://securitylab.github.com/advisories/GHSL-2024-109_GHSL-2024-111_habitica/>
- <https://github.com/HabitRPG/habitica/commit/946ade5da1f52a804ef2ba76d49416c43e8166bf>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2024-53272) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
