{"id":"GHSA-jf8c-36vw-98x4","aliases":["GHSA-jf8c-36vw-98x4"],"related":[],"kind":"vulnerability","state":"published","title":"Drupal core Remote Code Execution","summary":"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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2024-05-15T20:59:25.000Z","modified":"2024-11-29T05:25:52.881Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"type":"ecosystem","introduced":"7.0","status":"affected","fixed":"7.60"}],"ecosystem":"Packagist","package":"drupal/drupal","purl":"pkg:composer/drupal/drupal","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"8.0.0","status":"affected","fixed":"8.5.8"}],"ecosystem":"Packagist","package":"drupal/drupal","purl":"pkg:composer/drupal/drupal","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"8.6.0","status":"affected","fixed":"8.6.2"}],"ecosystem":"Packagist","package":"drupal/drupal","purl":"pkg:composer/drupal/drupal","source":"ghsa"}],"references":[{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/2018-10-17-4.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/drupal/drupal","tags":["package"],"sources":["ghsa"]},{"url":"https://www.drupal.org/sa-core-2018-006","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jf8c-36vw-98x4","url":"https://github.com/advisories/GHSA-jf8c-36vw-98x4","licence":"CC-BY-4.0","modified":"2024-11-29T05:25:52.881Z"}],"updatedAt":"2026-11-25T22:56:32.418Z"}