{"id":"CVE-2026-145257","aliases":["EUVD-2026-144576","GHSA-q8vh-w9gq-3v96","GHSA-v3fc-jf56-59fh"],"status":"published","title":"Mealie before 3.31.0 HTML Injection in Invitation Emails via Token Field","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.","severity":{"version":"4.0","score":5.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N","level":"medium","assessor":"cna","from":"cve","others":[{"version":"3.1","score":4.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},{"version":"4.0","score":5.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","from":"ghsa"}]},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false,"poc_reported":true},"cwes":["CWE-116"],"published":"2026-12-04T18:31:14Z","modified":"2026-12-04T21:31:34Z","products":[{"vendor":"mealie-recipes","product":"mealie"}],"references":[{"url":"https://github.com/mealie-recipes/mealie/security/advisories/GHSA-q8vh-w9gq-3v96","tags":["vendor-advisory","exploit","advisory"]},{"url":"https://github.com/mealie-recipes/mealie/commit/cc7e4e0f7c9b2dc2c7d2dd85579cb78c107224af","tags":["patch","fix"]},{"url":"https://github.com/mealie-recipes/mealie/releases/tag/v3.31.0","tags":["release-notes","advisory"]},{"url":"https://github.com/mealie-recipes/mealie/blob/v3.30.0/mealie/routes/households/controller_invitations.py#L77","tags":["technical-description","article"]},{"url":"https://www.vulncheck.com/advisories/mealie-before-3.31.0-html-injection-in-invitation-emails-via-token-field","tags":["third-party-advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-145257","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-v3fc-jf56-59fh"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145257.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-145257","title":"Mealie before 3.31.0 HTML Injection in Invitation Emails via Token Field","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.","status":"published","published":"2026-12-04T18:31:14.14Z","modified":"2026-12-04T19:40:34.551Z","cvss":[{"version":"4.0","score":5.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N","level":"medium","assessor":"cna"},{"version":"3.1","score":4.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-116"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial","date":"2026-12-04"},"updated_at":"2026-12-04T19:49:49.458614Z"}],"euvd":[{"id":"EUVD-2026-144576","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.","status":"published","published":"2026-12-04T18:31:14Z","modified":"2026-12-04T19:40:34Z","cvss":[{"version":"4.0","score":5.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N","level":"medium"}],"updated_at":"2026-12-04T20:42:20.690406Z"}],"ghsa":[{"id":"GHSA-v3fc-jf56-59fh","title":"Mealie before 3.31.0 contains an HTML injection vulnerability that allows authenticated users...","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.","status":"published","published":"2026-12-04T21:31:26Z","modified":"2026-12-04T21:31:34Z","cvss":[{"version":"4.0","score":5.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"},{"version":"3.1","score":4.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-116"],"updated_at":"2026-12-04T21:59:25.884743Z"}],"nvd":[{"id":"CVE-2026-145257","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.","status":"published","published":"2026-12-04T20:19:30.747Z","modified":"2026-12-04T20:19:30.95Z","cvss":[{"version":"4.0","score":5.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"},{"version":"3.1","score":4.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-116"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial","date":"2026-12-04"},"updated_at":"2026-12-04T20:28:17.678597Z"}],"osv":[{"id":"CVE-2026-145257","title":"Mealie before 3.31.0 HTML Injection in Invitation Emails via Token Field","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.","status":"published","published":"2026-12-04T18:31:14.14Z","modified":"2026-12-04T20:45:19.723134534Z","cvss":[{"version":"4.0","score":5.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N","level":"medium"}],"cwes":["CWE-116"],"updated_at":"2026-12-04T20:26:38.254699Z"}]}}
