Description
In Drupal core, when sending email some variables were not being sanitized for shell arguments in `DefaultMailSystem::mail()`, which could lead to remote code execution.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | drupal/core | >= 7.0, < 7.60 | 7.60 | GHSA-6mgp-v5cm-ghg5 |
| Packagist | drupal/core | >= 8.0.0, < 8.5.8 | 8.5.8 | GHSA-6mgp-v5cm-ghg5 |
| Packagist | drupal/core | >= 8.6.0, < 8.6.2 | 8.6.2 | GHSA-6mgp-v5cm-ghg5 |