CVE-2026-145257: Mealie before 3.31.0 HTML Injection in Invitation Emails via Token Field

Published Dec 4, 2026
·
Updated

Mealie before 3.31.0 contains an HTML injection vulnerability that allows authenticated users with GROUPINVITE 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.

Affected Software

1 affected component
Mealie Mealie<3.31.0

Event History

Dec 4, 2026
CVE Published
via MITRE·06:31 PM
Data Sourced
via MITRE·06:31 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An attacker must be authenticated to Mealie and have the GROUP_INVITE permission. They also need to be able to submit a crafted invitation request to the email invitation endpoint.

2

What is required for the attack to succeed against recipients?

The attacker supplies a token containing a double quote to break the invitation link's href attribute and inject markup. A recipient must receive and interact with the resulting instance-branded invitation email for the phishing scenario to succeed.

3

Which installations are affected?

Mealie versions before 3.31.0 are affected. The issue is associated with the email invitation endpoint at /api/households/invitations/email.

4

What should be done if upgrading cannot happen immediately?

Restrict GROUP_INVITE permission to trusted users, since this permission is required to craft the malicious invitation email. Monitor or limit use of the email invitation endpoint where operationally possible.

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