CVE-2017-5223
An issue was discovered in PHPMailer before 5.2.22. PHPMailer's msgHTML method applies transformations to an HTML document to make it usable as an email message body. One of the transformations is to convert relative image URLs into attachments using a script-provided base directory. If no base directory is provided, it resolves to /, meaning that relative image URLs get treated as absolute local file paths and added as attachments. To form a remote vulnerability, the msgHTML method must be called, passed an unfiltered, user-supplied HTML document, and must not set a base directory.
- Severity
- MEDIUMCVSS 5.5
- Priority
- P3: EPSS ≥ 1%
- Exploit prediction (EPSS)
- 2.1%higher than 83% of CVEs
- CISA KEV
- Not listed as known exploited
- First reported
- 16 January 2017
Is CVE-2017-5223 on your systems?
Sign in to get an AI-assisted analysis, a read-only verification script for your servers, and alerts when this CVE changes or is exploited.
References
Look up another CVE
Linda Taifa tracks CVE-2017-5223 and every other published CVE for organisations in Tanzania and across Africa. See the latest on CVE Tanzania.
Sources: NVD, CISA Known Exploited Vulnerabilities catalog and FIRST EPSS. Official CVE record · NVD entry