{"id":"CVE-2026-142396","aliases":["DRUPAL-CONTRIB-2026-344","EUVD-2026-144939","GHSA-qwmg-p467-gg67"],"status":"published","title":"Mail Safety - Critical - Cross-site scripting - SA-CONTRIB-2026-344","description":"Improper Neutralization of Input During Web Page Generation (\"Cross-site Scripting\") vulnerability in Drupal Mail Safety allows Stored XSS. This issue affects Mail Safety versions: from 0.0.0 to 2.1.1, from 2.2.0 to 2.2.1.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2026-12-02T17:15:23Z","modified":"2026-12-05T00:32:08Z","fixes":[{"ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/mail_safety","fixed_in":["2.1.1","2.2.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/mail_safety","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.1"}]},{"type":"ECOSYSTEM","events":[{"introduced":"2.2.0"},{"fixed":"2.2.1"}]}]}],"products":[{"vendor":"drupal","product":"mail safety"}],"references":[{"url":"https://www.drupal.org/sa-contrib-2026-344","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142396","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-qwmg-p467-gg67"},{"url":"https://git.drupalcode.org/project/mail_safety","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142396.json","tags":["advisory"]},{"url":"https://www.drupal.org/project/mail_safety","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2026-142396","title":"Mail Safety - Critical - Cross-site scripting - SA-CONTRIB-2026-344","description":"Improper Neutralization of Input During Web Page Generation (\"Cross-site Scripting\") vulnerability in Drupal Mail Safety allows Stored XSS. This issue affects Mail Safety versions: from 0.0.0 to 2.1.1, from 2.2.0 to 2.2.1.","status":"published","published":"2026-12-04T22:50:09.942Z","modified":"2026-12-04T22:50:09.942Z","cwes":["CWE-79"],"updated_at":"2026-12-04T22:55:15.662826Z"}],"euvd":[{"id":"EUVD-2026-144939","description":"Improper Neutralization of Input During Web Page Generation (\"Cross-site Scripting\") vulnerability in Drupal Mail Safety allows Stored XSS. This issue affects Mail Safety versions: from 0.0.0 to 2.1.1, from 2.2.0 to 2.2.1.","status":"published","published":"2026-12-04T22:50:09Z","modified":"2026-12-04T22:50:09Z","updated_at":"2026-12-05T00:43:28.642833Z"}],"ghsa":[{"id":"GHSA-qwmg-p467-gg67","title":"Improper Neutralization of Input During Web Page Generation (\"Cross-site Scripting\")...","description":"Improper Neutralization of Input During Web Page Generation (\"Cross-site Scripting\") vulnerability in Drupal Mail Safety allows Stored XSS. This issue affects Mail Safety versions: from 0.0.0 to 2.1.1, from 2.2.0 to 2.2.1.","status":"published","published":"2026-12-05T00:31:58Z","modified":"2026-12-05T00:32:08Z","cwes":["CWE-79"],"updated_at":"2026-12-05T01:00:36.874466Z"}],"nvd":[{"id":"CVE-2026-142396","description":"Improper Neutralization of Input During Web Page Generation (\"Cross-site Scripting\") vulnerability in Drupal Mail Safety allows Stored XSS. This issue affects Mail Safety versions: from 0.0.0 to 2.1.1, from 2.2.0 to 2.2.1.","status":"published","published":"2026-12-04T23:16:51.393Z","modified":"2026-12-04T23:16:51.393Z","cwes":["CWE-79"],"updated_at":"2026-12-04T23:19:29.191326Z"}],"osv":[{"id":"CVE-2026-142396","title":"Mail Safety - Critical - Cross-site scripting - SA-CONTRIB-2026-344","description":"Improper Neutralization of Input During Web Page Generation (\"Cross-site Scripting\") vulnerability in Drupal Mail Safety allows Stored XSS. This issue affects Mail Safety versions: from 0.0.0 to 2.1.1, from 2.2.0 to 2.2.1.","status":"published","published":"2026-12-04T22:50:09.942Z","modified":"2026-12-05T00:00:36.136471051Z","cwes":["CWE-79"],"updated_at":"2026-12-05T00:04:45.535927Z"},{"id":"DRUPAL-CONTRIB-2026-344","description":"This module enables you to test and debug outgoing emails and prevent mails from being send.\n\nIn certain cases the module does not sufficiently sanitize emails, which can lead to a cross-site scripting (XSS) vulnerability.\n\nThis vulnerability is mitigated by the fact that in order for it to be exploitable, the configuration option *Send mail to dashboard* must be enabled.","status":"published","published":"2026-12-02T17:15:23Z","modified":"2026-12-02T19:15:02.724966631Z","updated_at":"2026-12-02T19:25:40.312943Z"}]}}
