Mime Mail
The module might include private uploaded files in outgoing emails. Anyone could potentially see this hidden information if they know the file names in advance. They would not be able to alter any information on the site.
- Who could do thisAnyone visiting the site. No login needed.
- Does it apply to youSites are affected under rare configurations where an attacker can send formatted emails and set the recipient list.
- Has it been used in attacksNo sign of it.
- How urgentDrupal rates this moderately critical. Include it in your next routine update, within the month.
Tell your developerUpdate Mime Mail to 2.0.4.
For developers: what the fix changed
The fix modifies the path validation in MimeMailFormatHelper.php by appending a directory separator to the public path and using str_starts_with to ensure the file is strictly within the public directory.
src/Utility/MimeMailFormatHelper.php+2 −1 fix