{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2017-11503","id":"CVE-2017-11503","title":"Cross-site scripting in PHPMailer","description":"PHPMailer 5.2.23 has XSS in the \"From Email Address\" and \"To Email Address\" fields of code_generator.php.","descriptionLong":"PHPMailer 5.2.23 has XSS in the \"From Email Address\" and \"To Email Address\" fields of code_generator.php.","published":"2017-07-20T23:00:00.000Z","updated":"2026-10-20T10:47:41.514472403Z","reserved":"2017-07-20T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"phpmailer/phpmailer","purl":"pkg:composer/phpmailer/phpmailer","ranges":[">=5.0.0 <5.2.24"],"fixed":["5.2.24"],"advisory":"GHSA-58mj-pw57-4vm2"}],"cwes":["CWE-79"],"aliases":["GHSA-58mj-pw57-4vm2"],"references":[{"url":"http://www.securityfocus.com/bid/99293/","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://packetstormsecurity.com/files/143138/phpmailer-xss.txt","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence","web"]},{"url":"https://cxsecurity.com/issue/WLB-2017060181","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"http://www.securitytracker.com/id/1039026","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"https://github.com/PHPMailer/PHPMailer","tags":["Product","package"]},{"url":"https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.24","tags":["Patch","Release Notes","Third Party Advisory","fix","web"]},{"url":"https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-58mj-pw57-4vm2","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-11503","tags":["advisory"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmailer/phpmailer/CVE-2017-11503.yaml","tags":["web"]},{"url":"http://www.securityfocus.com/bid/99293","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.024,"epssPercentile":0.84354,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2017-11503","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-11503","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2017-11503","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-58mj-pw57-4vm2","ok":true,"note":"GHSA-58mj-pw57-4vm2"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2017-11503","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}