{"id":"UBUNTU-CVE-2017-11503","details":"PHPMailer 5.2.23 has XSS in the \"From Email Address\" and \"To Email Address\" fields of code_generator.php.","modified":"2026-02-04T04:26:00.673679Z","published":"2017-07-20T23:29:00Z","related":["USN-5956-1","USN-5956-2"],"upstream":["CVE-2017-11503"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-11503"},{"type":"REPORT","url":"https://cxsecurity.com/issue/WLB-2017060181"},{"type":"REPORT","url":"https://packetstormsecurity.com/files/143138/phpmailer-xss.txt"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5956-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5956-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-11503"}],"affected":[{"package":{"name":"libphp-phpmailer","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libphp-phpmailer@5.2.14+dfsg-1ubuntu0.1~esm2?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.14+dfsg-1ubuntu0.1~esm2"}]}],"versions":["5.2.10+dfsg-1","5.2.14+dfsg-1","5.2.14+dfsg-1build1","5.2.14+dfsg-1ubuntu0.1~esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"5.2.14+dfsg-1ubuntu0.1~esm2","binary_name":"libphp-phpmailer"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-11503.json"}},{"package":{"name":"libphp-phpmailer","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/libphp-phpmailer@5.2.14+dfsg-2.3+deb9u2ubuntu0.1~esm2?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.14+dfsg-2.3+deb9u2ubuntu0.1~esm2"}]}],"versions":["5.2.14+dfsg-2.3","5.2.14+dfsg-2.3+deb9u1build0.18.04.1","5.2.14+dfsg-2.3+deb9u2build0.18.04.1","5.2.14+dfsg-2.3+deb9u2ubuntu0.1~esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"5.2.14+dfsg-2.3+deb9u2ubuntu0.1~esm2","binary_name":"libphp-phpmailer"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-11503.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"low"}]}