CVE-2024-53274

Medium

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.

SeverityMedium
CVSS6.1
Exploit probability—
ProductHabitica
PublishedDec 12, 2024
First seenDec 12, 2024

How to fix

Update
  • habitica habitica5.28.5 or later

Affected products

ProductAffected versionsFixed in
habitica habiticav < 5.28.55.28.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.