Read the docs

HTML injection in Mealie invitation emails via token field

Priority MEDIUM 56CWE-116Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
None · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

Mealie before 3.31.0 contains an HTML injection flaw in invitation emails. An authenticated user with the GROUP_INVITE permission can supply an unvalidated token containing a double quote to POST /api/households/invitations/email, which breaks the href attribute and injects markup. This lets the attacker send instance-branded phishing links to chosen recipients.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

Description from the CNA

Mealie before 3.31.0 contains an HTML injection vulnerability that allows authenticated users with GROUP_INVITE permission to inject markup into invitation emails via an unvalidated token. Attackers can supply a token containing a double quote to POST /api/households/invitations/email, breaking the href attribute to send instance-branded phishing links to chosen recipients.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
Fix Fixed mealie (mealie-recipes): 3.31.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
mealie-recipesmealiebefore 3.31.03.31.0Patch availableCNA
  • mealie Vendormealie-recipes Affected before 3.31.0 Fixed in 3.31.0 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:mealie:mealie:*:*:*:*:*:*:*:*——mealie-recipes
  • cpe:2.3:a:mealie:mealie:*:*:*:*:*:*:*:* Versions — — ·mealie-recipes

Remediation

Upgrade mealie-recipes mealie to version 3.31.0, which fixes the issue.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

  • Fix · CNA mealie (mealie-recipes) Fixed in 3.31.0

Timeline

  1. 2026-12-04 Threatist record created from CVE-2026-145257
  2. 2026-12-04 CISA SSVC decision points changed

References

  • TI-2025-35411 Mealie 3.0.1 and earlier is vulnerable to Stored Cross-Site Scripting (XSS) in the recipe… CVSS 3.1CRITICAL 9.0
  • TI-2026-97912 Path traversal in Mealie I18n Locale Provider lets remote attackers read files CVSS 4.0MEDIUM 6.9
  • TI-2024-36768 A Broken Object Level Authorization vulnerability in the component /api/users/{user-id}… CVSS 3.1HIGH 7.6
  • TI-2024-21092 Mealie vulnerable to a GET-based SSRF in recipe image importer (GHSL-2023-227) CVSS 3.1MEDIUM 6.2
  • TI-2025-43084 A stored cross-site scripting (XSS) vulnerability in the recipe asset upload and media… CVSS 3.1MEDIUM 6.1
  • TI-2025-43083 A stored HTML injection vulnerability in the Recipe Notes rendering component in Mealie… CVSS 3.1MEDIUM 5.4
See all 20 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences