CVE-2026-142397: Mail safety · This module enables you to test and debug outgoing emails and prevent mails from being
Affects drupal/mail_safetySource GCVE Database
Not known to be exploited : upgrade to 2.2.1 or 2.1.1 when convenient.
Data as of 2 Dec 2026, 20:45 UTC
Rated Medium by Threat Radar's AI analysis · CVSS not yet scored by NVD
- Patch
- Available – fixed in 2.2.1, 2.1.1
Exploitation evidence
Disclosed: evidence found.
CVE published 2 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.
What to do
Upgrade drupal/mail_safety to 2.2.1 or 2.1.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Packagist https //packages.drupal.org/8drupal/mail_safety | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to mail_safety module versions 2.1.1 or 2.2.1 where the vulnerability is fixed. Alternatively, ensure that the 'Send mail to dashboard' configuration option is disabled to mitigate the risk.
Description
The Drupal mail_safety module has a cross-site scripting (XSS) vulnerability due to insufficient sanitization of emails in certain cases. Exploitation requires the 'Send mail to dashboard' configuration option to be enabled. Fixed versions 2.1.1 and 2.2.1 address this issue.