{"id":"CVE-2026-142397","aliases":["DRUPAL-CONTRIB-2026-342","EUVD-2026-144938","GHSA-9wj5-53h8-c2hc"],"status":"published","title":"Mail Safety - Critical - Cross-site scripting - SA-CONTRIB-2026-342","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:41Z","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-342","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142397","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-9wj5-53h8-c2hc"},{"url":"https://git.drupalcode.org/project/mail_safety","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142397.json","tags":["advisory"]},{"url":"https://www.drupal.org/project/mail_safety","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2026-142397","title":"Mail Safety - Critical - Cross-site scripting - SA-CONTRIB-2026-342","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:08.988Z","modified":"2026-12-04T22:50:08.988Z","cwes":["CWE-79"],"updated_at":"2026-12-04T22:55:15.662826Z"}],"euvd":[{"id":"EUVD-2026-144938","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:08Z","modified":"2026-12-04T22:50:08Z","updated_at":"2026-12-05T00:43:28.642833Z"}],"ghsa":[{"id":"GHSA-9wj5-53h8-c2hc","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-142397","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.5Z","modified":"2026-12-04T23:16:51.5Z","cwes":["CWE-79"],"updated_at":"2026-12-04T23:19:29.191326Z"}],"osv":[{"id":"CVE-2026-142397","title":"Mail Safety - Critical - Cross-site scripting - SA-CONTRIB-2026-342","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:08.988Z","modified":"2026-12-05T00:00:32.173770371Z","cwes":["CWE-79"],"updated_at":"2026-12-05T00:04:45.535927Z"},{"id":"DRUPAL-CONTRIB-2026-342","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, configuration option *Send mail to dashboard* must be enabled.","status":"published","published":"2026-12-02T17:15:41Z","modified":"2026-12-02T19:15:02.599760855Z","updated_at":"2026-12-02T19:25:40.312943Z"}]}}
