CRLF injection in PHPMailer - #VU173507
Published: December 4, 2026
Vulnerability details
The vulnerability allows a remote attacker to inject unintended email headers that alter message metadata and may affect downstream processing.
The vulnerability exists due to improper neutralization of carriage returns and line feeds in PHPMailer's DKIM_Add() function when constructing the DKIM-Signature header. A remote attacker can abuse control over any one of the DKIM domain, selector, or identity settings in a host application with DKIM signing enabled to inject unintended email headers.