Improper Handling of Unicode Encoding in PHPMailer - #VU173505
Published: December 4, 2026
Vulnerability details
The vulnerability allows a remote attacker to redirect email to an unintended domain and potentially obtain sensitive messages such as password reset links.
The vulnerability exists due to improper handling of Unicode encoding in PHPMailer::punyencodeAddress() when it interprets a UTF-8 domain as ISO-8859-1 under the default CharSet setting before converting it to Punycode. A remote attacker can supply an internationalized email address to misdirect delivery, even if the application has separately validated the intended domain.