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

Source: https://aplosec.si/cve/CVE-2026-142329/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-142329

Medium 5.1 · Reported · No fix listed · CWE-79 · Server

# Habitica through 5.53.1 HTML Injection via Private Message Inbox Export

CVE-2026-142329 · published 2026-12-02

In plain words: this type of bug lets someone run scripts in another person's browser (cross-site scripting, XSS). No fixed release is listed yet.

## Summary

CVE-2026-142329 affects Habitica (Server) <= 5.53.1: HTML Injection via Private Message Inbox Export (CWE-79). No fixed release is listed. CVSS 4.0 base score 5.1 (Medium), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

## References

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/habitica-through-5.53.1-html-injection-via-private-message-inbox-export](https://www.vulncheck.com/advisories/habitica-through-5.53.1-html-injection-via-private-message-inbox-export)

- [Vulnerable codehttps://github.com/HabitRPG/habitica/blob/v5.53.1/website/server/controllers/top-level/dataexport.js#L159-L198](https://github.com/HabitRPG/habitica/blob/v5.53.1/website/server/controllers/top-level/dataexport.js#L159-L198)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-142329](https://www.cve.org/CVERecord?id=CVE-2026-142329)

**Severity:** Medium 5.1 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-142329)

**Package:** Habitica

**Ecosystem:** Server

**Affected:** <= 5.53.1

**Fixed:** None

**Weakness:** CWE-79

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
