ADVISORIES

Drupal Security Advisory

DRUPAL-CONTRIB-2026-215

Details

The Examples for Developers project aims to provide high-quality, well-documented API examples for a broad range of Drupal core functionality.

The "Email Example" feature implemented by the email\_example submodule can be used to send illegitimate emails to arbitrary email addresses.

Therefore, the email\_example sub-module is being removed from Examples for Developers until a version demonstrating security best practices can be added back in the future. Developers who based a new module on this example should review their code.

Affected packages

EcosystemPackageAffected versions
Packagist:https://packages.drupal.org/8drupal/examples
All versions before 4.0.7 (fixed in 4.0.7)

References