Skip to main content
← All vulnerabilities
CVE-2024-53274

GHSL-2024-111: Reflected XSS in /home in habitica

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.28.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • HabitRPG habatica

    fixed in 5.28.5

References 2

securitylab.github.com

GitHub · HabitRPG/habitica