CVE-2026-145257: Mealie Improper Output Encoding
Published 2026-12-04 · Updated 2026-12-04 · Source disclosure@vulncheck.com
Not known to be exploited · medium severity — update Mealie to 3.31.0 or later on your normal schedule.
What to do
- Update Mealie to version 3.31.0 or later. Versions before 3.31.0 are affected.
- Until it is patched, restrict network access to Mealie and review which accounts can log in to it.
- Filter the affected fields at a proxy until the fix is applied.
- Exploitation needs a victim to act, so warn users of the affected system about unexpected links and files.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| Mealie | < 3.31.0 | 3.31.0 |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker needs an ordinary low-privileged account, and a victim has to take an action such as opening a link or file. Attack complexity is low, so a working exploit is expected to be reliable. The impact is limited: integrity is rated low. A successful attack can affect components beyond the vulnerable one.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | Low | The attacker needs an ordinary low-privileged account. |
| User interaction | Required | A victim has to take an action, such as opening a link or file. |
| Confidentiality | None | No effect on confidentiality. |
| Integrity | Low | Partial loss of integrity. |
| Availability | None | No effect on availability. |
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:N
Weakness: Improper Output Encoding
Data is not encoded correctly for the place it is sent, so the receiving component can misinterpret it as instructions.
Classified as CWE-116.
Description
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.
Advisory text as published in the NVD record.
References
- Patchhttps://github.com/mealie-recipes/mealie/commit/cc7e4e0f7c9b2dc2c7d2dd85579cb78c107224af
- Patchhttps://github.com/mealie-recipes/mealie/releases/tag/v3.31.0
- Advisoryhttps://github.com/mealie-recipes/mealie/security/advisories/GHSA-q8vh-w9gq-3v96
- Advisoryhttps://www.vulncheck.com/advisories/mealie-before-3.31.0-html-injection-in-invitation-emails-via-token-field
- Advisoryhttps://github.com/mealie-recipes/mealie/security/advisories/GHSA-q8vh-w9gq-3v96
- Referencehttps://github.com/mealie-recipes/mealie/blob/v3.30.0/mealie/routes/households/controller_invitations.py#L77