CVE & CISA-KEV Catalog

CVE-2017-5223

MEDIUMEPSS 80th pctl
5.5
CVSS v3
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.

How to fix

Remediation Available
libphp-phpmailerDebian
Fixed in:5.2.14+dfsg-2.3CVE-2017-5223
Fixed in:5.2.14+dfsg-2.3CVE-2017-5223
Fixed in:5.2.14+dfsg-2.3CVE-2017-5223
Fixed in:5.2.14+dfsg-2.3CVE-2017-5223
libphp-phpmailerUbuntu
Fixed in:5.2.14+dfsg-1ubuntu0.1~esm1USN-5956-1
Fixed in:5.2.14+dfsg-2.3+deb9u2ubuntu0.1~esm1USN-5956-1
Fixed in:6.0.6-0.1ubuntu0.1~esm1USN-5956-1
Fixed in:6.2.0-2ubuntu0.1~esm1USN-5956-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityNone
AvailabilityNone

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

Exploit Intelligence

2.14%probability of exploitation in 30 days
80thpercentile

Elevated risk: more likely to be exploited than 80% of all known CVEs.

References

Exploit1
Third-Party Advisory1
Other references1

Related Vulnerabilities

Other CWE-200 (Information Exposure) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-24919High8.6100%KEV + Ransom-
CVE-2020-14181Medium5.3100%-Fix
CVE-2021-34429Medium5.399%-Fix
CVE-2018-11409Medium5.398%--
CVE-2021-41277Critical10.097%KEV-
CVE-2016-2183High7.596%-Fix
Embed a live status badge for CVE-2017-5223
CVE-2017-5223 severity badge

Markdown

[![CVE-2017-5223](https://tridentstack.com/cve/badge/CVE-2017-5223.svg)](https://tridentstack.com/cve/CVE-2017-5223)

HTML

<a href="https://tridentstack.com/cve/CVE-2017-5223"><img src="https://tridentstack.com/cve/badge/CVE-2017-5223.svg" alt="CVE-2017-5223"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-05-13.