cvelo
P4 · Info

Mail Safety - Critical - Cross-site scripting - SA-CONTRIB-2026-342

  • CVE-2026-142397
  • DRUPAL-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.

Text from the CVE.org record.

Recommendation

  • Drupal Mail Safety

    • If you run 2.2.xupdate to 2.2.1 or laterPatch update: breaking changes are unlikely
    • If you run a version from 0.0.0 to before 2.1.1update to 2.1.1 or laterMajor version change: expect breaking changes
  • drupal/mail_safety

    • If you run 2.2.xupdate to 2.2.1 or laterPatch update: breaking changes are unlikely
    • If you run a version before 2.1.1update to 2.1.1 or later

Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • Drupal Mail Safety

    Affected versionsFixed in
    from 2.2.0 to before 2.2.12.2.1
    from 0.0.0 to before 2.1.12.1.1
  • drupal/mail_safetyPackagist:https://packages.drupal.org/8

    Affected versionsFixed in
    from 2.2.0 to before 2.2.12.2.1
    before 2.1.12.1.1

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.