CRLF injection in PHPMailer - #VU173508
Published: December 4, 2026
Vulnerability details
The vulnerability allows a remote attacker to inject arbitrary email headers, altering message metadata and potentially affecting downstream mail processing.
The vulnerability exists due to improper neutralization of CRLF sequences in PHPMailer::$Priority when generating the X-Priority header. A remote attacker can supply a crafted priority value to a host application that assigns remote input to the property without validation to insert an unintended message header.