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

Published Dec 11, 2024
·
Updated

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.

Affected Software

2 affected components
habitica habitica<5.28.5
habitica habitica<5.28.5

Event History

Dec 11, 2024
CVE Published
via MITRE·10:16 PM
Data Sourced
via MITRE·10:16 PM
DescriptionWeakness
Dec 12, 2024
Data Sourced
via NVD·02:15 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-53274?

CVE-2024-53274 is classified as a medium severity vulnerability due to the potential for reflected cross-site scripting attacks.

2

How do I fix CVE-2024-53274?

To fix CVE-2024-53274, upgrade to Habitica version 5.28.5 or later, where the vulnerability has been addressed.

3

What impact does CVE-2024-53274 have on users?

If exploited, CVE-2024-53274 allows attackers to execute arbitrary scripts in the context of the user's session, potentially compromising user data.

4

Which versions of Habitica are affected by CVE-2024-53274?

Habitica versions prior to 5.28.5 are affected by CVE-2024-53274.

5

What component of Habitica is vulnerable in CVE-2024-53274?

CVE-2024-53274 affects the `register` function in the `home.vue` file due to improper sanitization of user input.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203