Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2017-5223

31
FAUCET Score

CVE-2017-5223 is a local file disclosure vulnerability affecting PHPMailer versions prior to 5.2.22. It arises when the msgHTML method processes unfiltered, user-supplied HTML without a specified base directory, causing relative image URLs to be treated as absolute local file paths and attached to the email. With a CVSS score of 5.5 (MEDIUM), this vulnerability has a low attack complexity and requires local access and low privileges, potentially leading to high confidentiality impact by disclosing local files. While not actively exploited in the wild and not on the KEV catalog, a public exploit (EDB-43056) exists, but there is minimal community discussion or media coverage.

Impacted Technologies

VendorProductVersion(s)CPE
<= 5.2.21CPE matchmatch criteria
cpe:2.3:a:phpmailer_project:phpmailer:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.0

5.5MEDIUM

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
NONE
Availability Impact
NONE
Exploitability Score
1.8
Impact Score
3.6
CvssVersion
3.0

Exploit Intelligence

EPSS Score
2.16%
Probability of exploitation in next 30 days
EPSS Percentile
80.3%
Percentile rank of EPSS score among Peer Group
As of 2026-07-25
Model: v2026.06.15
ExploitDB: EDB-43056 · Oct 25, 2017
This CVE's current EPSS score of 0.0216 is in the 99th percentile among its peer group of 15,937 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.0 Bluesky, 0.0 Mastodon, and 0.1 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (2)

composerpatch availablevia ghsa
Product: phpmailer/phpmailerFixed in: 5.2.22
github_advisorypatch availablevia nvd_reference
View patch

Vendor Advisories (1)

composerGHSA-4x5h-cr29-fhp6medium

Local file disclosure in PHPMailer

Mar 5, 2020

References

kalilinux.co / 2017/01/12/phpmailer-cve-2017-5223-local-information-disclosure-vulnerability-analysis
ExploitThird Party Advisory
github.com / PHPMailer/PHPMailer/blob/master/SECURITY.md
Issue TrackingPatchThird Party Advisory
exploit-db.com / exploits/43056
securityfocus.com / bid/95328
Third Party AdvisoryVDB Entry