DRUPAL-CONTRIB-2026-344

See a problem?
Import Source
https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/mail_safety/DRUPAL-CONTRIB-2026-344.json
JSON Data
https://api.osv.dev/v1/vulns/DRUPAL-CONTRIB-2026-344
Aliases
  • CVE-2026-142396
Published
2026-12-02T17:15:23Z
Modified
2026-12-02T19:15:02Z
Summary
[none]
Details

This module enables you to test and debug outgoing emails and prevent mails from being send.

In certain cases the module does not sufficiently sanitize emails, which can lead to a cross-site scripting (XSS) vulnerability.

This vulnerability is mitigated by the fact that in order for it to be exploitable, the configuration option Send mail to dashboard must be enabled.

References
Credits

Affected packages

Packagist:https://packages.drupal.org/8 / drupal/mail_safety

Package

Name
drupal/mail_safety
Purl
pkg:composer/drupal/mail_safety?repository_url=https:%2F%2Fpackages.drupal.org%2F8

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.1.1
Database specific
Show details
{
    "constraint":  "<2.1.1"
}
Type
ECOSYSTEM
Events
Introduced
2.2.0
Fixed
2.2.1
Database specific
Show details
{
    "constraint":  ">=2.2.0 <2.2.1"
}

Database specific

affected_versions
"<2.1.1 || >=2.2.0 <2.2.1"
source
"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/mail_safety/DRUPAL-CONTRIB-2026-344.json"