Cross-site scripting in PHPMailer - CVE-2017-11503
Published: August 2, 2017
Vulnerability details
The vulnerability exists due to insufficient validation of user-supplied data passed via specially crafted parameter to 'code_generator.phps' example script. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in victim’s browser in security context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
Affected software
Fedora
Ubuntu
libphp-phpmailer (Ubuntu package)
php-PHPMailer
How to mitigate CVE-2017-11503
php-PHPMailer - addressed in versions 5.2.24-1.el6, 5.2.24-1.el7, 5.2.24-1.fc24, 5.2.24-1.fc25, 5.2.24-1.fc26