{"id":"CVE-2026-145257","summary":"Mealie before 3.31.0 HTML Injection in Invitation Emails via Token Field","details":"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.","aliases":["GHSA-q8vh-w9gq-3v96"],"modified":"2026-12-04T20:45:19.723134534Z","published":"2026-12-04T18:31:14.140Z","database_specific":{"cwe_ids":["CWE-116"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145257.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145257.json"},{"type":"ARTICLE","url":"https://github.com/mealie-recipes/mealie/blob/v3.30.0/mealie/routes/households/controller_invitations.py#L77"},{"type":"FIX","url":"https://github.com/mealie-recipes/mealie/commit/cc7e4e0f7c9b2dc2c7d2dd85579cb78c107224af"},{"type":"ADVISORY","url":"https://github.com/mealie-recipes/mealie/releases/tag/v3.31.0"},{"type":"ADVISORY","url":"https://github.com/mealie-recipes/mealie/security/advisories/GHSA-q8vh-w9gq-3v96"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-145257"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/mealie-before-3.31.0-html-injection-in-invitation-emails-via-token-field"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mealie-recipes/mealie","events":[{"introduced":"0"},{"fixed":"c87f20d1293b6e7732afe1b25d07ed79152b75a8"},{"fixed":"cc7e4e0f7c9b2dc2c7d2dd85579cb78c107224af"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"3.31.0"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"fixed":"cc7e4e0f7c9b2dc2c7d2dd85579cb78c107224af"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_TAG","original_tag":"v3.31.0","range":[{"fixed":"c87f20d1293b6e7732afe1b25d07ed79152b75a8"}]}]}}],"versions":["v3.30.0","v3.29.0","v3.28.0","v3.27.0","v3.26.0","v3.25.1","v3.25.0","v3.24.0","v3.23.1","v3.23.0","v3.22.0","v3.21.0","v3.20.1","v3.20.0","v3.19.2","v3.19.1","v3.19.0","v3.18.0","v3.17.0","v3.16.0","v3.15.2","v3.15.1","v3.15.0","v3.14.0","v3.13.1","v3.13.0","v3.12.0","v3.11.0","v3.10.2","v3.10.1","v3.10.0","v3.9.2","v3.9.1","v3.9.0","v3.8.0","v3.7.0","v3.6.1","v3.6.0","v3.5.0","v3.4.0","v3.3.2","v3.3.1","v3.3.0","v3.2.1","v3.2.0","v3.1.2","v3.1.1","3.1.0","v3.0.2","v3.0.1","v3.0.0","v2.8.0","v2.7.1","v2.7.0","v2.6.0","v2.5.0","v2.4.2","v2.4.1","v2.4.0","v2.3.0","v2.2.0","v2.1.0","v2.0.0","v1.12.0","v1.11.0","v1.10.2","v1.10.1","v1.10.0","v1.9.0","v1.8.0","v1.7.0","v1.6.0","v1.5.1","v1.5.0","v1.4.0","v1.3.2","v1.3.1","v1.3.0","v1.2.0","v1.1.1","v1.1.0","v1.0.0","v1.0.0-RC2","v1.0.0-RC1.1","v1.0.0-RC1","v1.0.0beta-5","v1.0.0beta-4","v1.0.0beta-3","v1.0.0beta-2","v1.0.0-beta-1","v0.4.0","v0.3.0","v0.2.2","v0.2.1","v0.2.0","v0.1.0","v0.0.2","v0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-145257.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}