SecurityContext

CVE-2017-11503: PHPMailer - Reflected XSS

  • Cve: CVE-2017-11503
  • Name: PHPMailer - Reflected XSS
  • Description: PHPMailer 5.2.23 has XSS in the "From Email Address" and "To Email Address" fields of code_generator.php.
  • Impact: Attackers can execute malicious scripts in victims' browsers, potentially leading to session hijacking or defacement.
  • Remediation: Update to the latest version of PHPMailer where this issue is fixed or sanitize input fields properly.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Attacker needs to craft malicious email addresses
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.024
  • Epss percentile: 0.84448
  • Assignee: [email protected]
  • Published at: 2017-07-20T23:29:00Z
  • Age in days: 3414
  • Modified at: 2026-06-17T01:01:54Z
  • Patch available: yes
  • Public exploits total: 3
  • References total: 6
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-11503
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Hackerone

  • Reports: 1
  • Rank: 5193

Public exploits

UrlSourceAdded date
https://cxsecurity.com/issue/WLB-2017060181nvd2017-07-20
https://packetstormsecurity.com/files/143138/phpmailer-xss.txtnvd2017-07-20
https://github.com/wizardafric/downloadpoc-in-github2018-03-26

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.24Patch, Release Notes, Third Party Advisory
https://cxsecurity.com/issue/WLB-2017060181Exploit, Third Party Advisory
https://packetstormsecurity.com/files/143138/phpmailer-xss.txtExploit, Third Party Advisory, VDB Entry
http://www.securityfocus.com/bid/99293/Third Party Advisory, VDB Entry
http://www.securitytracker.com/id/1039026Third Party Advisory, VDB Entry
https://github.com/PHPMailer/PHPMailerProduct

Products

ProductAffectedPlatform boundSourcesUrl
phpmailer_project:phpmailer= 5.2.23nonvd/v1/products/phpmailer_project/phpmailer

Projects

RepositoryLink kindsIndexedUrl
PHPMailer/PHPMailerreleases, security_advisoryyes/v1/repositories/PHPMailer/PHPMailer

Index

  • Repositories: 7
  • Repositories high signal: 1
  • Packages: 1

Exploitation

  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 3
  • Public exploit first date: 2017-07-20
  • Remote: yes
  • Hackerone reports: 1
  • Exposed hosts: 160
  • Checked, none or zero: known exploited, known exploited by, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since