AUGUST 4, 2026
Live Feed
Return to register
Case File

CVE-2017-5223

MEDIUM · CVSS 5.5 EPSS 2.16% Public Exploit

Source: NVD + CISA KEV + EPSS (historical backfill) · Published 2017-01-16 · Last synced 2026-08-04

Field Assessment

AI analysis pending.

Exhibit — Public Exploit Signal

A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.

GitHub PoC Links
External Security References

Note: these links are listed for security research and verification purposes only.

CVE
CVE-2017-5223
Severity
MEDIUM
CVSS
5.5
EPSS
2.16%

Original Filing — NVD 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.