CVE-2026-142329: Habitica through 5.53.1 HTML Injection via Private Message Inbox Export

Published Dec 2, 2026
·
Updated

Habitica through 5.53.1 contains an HTML injection vulnerability in the /export/inbox.html endpoint that allows authenticated attackers to inject markup via unescaped sender display names. Attackers can set a display name containing an HTML event handler and message the victim, so script runs when the exported inbox.html is opened, exposing private messages.

Affected Software

1 affected component
habitica habitica<=5.53.1

Event History

Dec 2, 2026
CVE Published
via MITRE·04:48 PM
Data Sourced
via MITRE·04:48 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:18 PM
DescriptionSeverityWeakness
Event
via NVD·05:18 PM

Frequently Asked Questions

1

Which users are realistically exposed to this issue?

Users are exposed if they receive a private message from an attacker and later export their inbox as inbox.html and open that exported file. The impact is exposure of private messages in the exported inbox.

2

What does an attacker need to exploit it?

The attacker needs an authenticated account, the ability to set a sender display name containing HTML with an event handler, and the ability to send a private message to the target.

3

What user action triggers the injected script?

The injected script runs when the recipient opens the exported inbox.html file. Receiving the private message alone is not described as the trigger.

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