CVE-2017-5223

An issue was discovered in PHPMailer before 5.2.22

published January 16, 2017

CVSS
—
EPSS
2%
Percentile
81.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02143 · 81.8th percentile
Published
2017-01-16T06:00Z
EPSS history
Timeline
  • 16 JAN 06:00Z
    An issue was discovered in PHPMailer before 5.2.22
    cvelistv5