5.5

CVE-2017-5223: phpmailer_project phpmailer

CVSS: 5.5v3.0MediumModified
AliasesUBUNTU-CVE-2017-5223DEBIAN-CVE-2017-5223DLA-817-1
Published 16-01-2017Last modified 05-08-2024

Vulnerability summary

CVE-2017-5223 is a medium (CVSS 5.5) vulnerability in phpmailer_project phpmailer. EPSS estimates a 2.14% chance of exploitation in the next 30 days, higher than 81.7% of scored vulnerabilities. 2 public exploits are recorded.

Overall risk
32/100
0100
Medium · default modelHow is this calculated?
CVSS score
5.5/10
010
Medium · v3.0 (NVD)
EPSS score
2.14%
0%100%
Low · -0.02 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits2reference, exploit-database

Advisory lineage

Upstream 0 · Downstream 3 · Related 1

Timeline

  1. 16-01-2017
    PublishedVulnerability first disclosed.
  2. 05-08-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

2.14%

Chance of exploitation in the next 30 days

Percentile

82%

Versus all other CVEs

30-day change

-0.02 pp

From 2.16% on 19-09-2026

19-09-202619-10-2026
EPSS score
2.14%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

2 found
  • referenceUnverified

    Exploit Reference (kalilinux.co)

    Maturity: unknown

  • exploit-databasephpUnverified

    PHPMailer < 5.2.21 - Local File Disclosure

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • libphp-phpmailer< 5.2.14+dfsg-2.3 | < 5.1-1.3+deb7u1
Phpmailer_project1 product
Ubuntu1 product
  • libphp-phpmailer< 5.2.14+dfsg-1ubuntu0.1~esm1

3 vendors · 3 products

References

8 links