CVE-2026-142329: Habitica through 5.53.1 HTML Injection via Private Message Inbox Export
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
Event History
Frequently Asked Questions
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.
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.
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.