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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
mealie-recipes mealie
Default version status: unaffected
0 to < 3.31.0affected3.31.0unaffected
pkg:github/mealie-recipes/mealieReferences
- https://github.com/mealie-recipes/mealie/security/advisories/GHSA-q8vh-w9gq-3v96 ↗
- https://github.com/mealie-recipes/mealie/commit/cc7e4e0f7c9b2dc2c7d2dd85579cb78c107224af ↗
- https://github.com/mealie-recipes/mealie/releases/tag/v3.31.0 ↗
- https://github.com/mealie-recipes/mealie/blob/v3.30.0/mealie/routes/households/controller_invitations.py#L77 ↗
- https://www.vulncheck.com/advisories/mealie-before-3.31.0-html-injection-in-invitation-emails-via-token-field ↗