PHP file inclusion in PHPMailer - CVE-2006-5734
Published: March 5, 2020 / Updated: November 6, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause PHPMailer to include arbitrary files from the local filesystem.
The vulnerability exists due to insufficient validation of the $lang property in PHPMailer when a host application assigns unfiltered user input to that property. A remote attacker can supply a crafted language value through the host application and cause an attacker-selected local file to be included.