SCA: security update for phpmailer/phpmailer (GHSA-4x5h-cr29-fhp6)

medium Tenable Self-Hosted Container Security Plugin ID 422186

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2017-5223)

See Also

https://github.com/advisories/GHSA-4x5h-cr29-fhp6

Plugin Details

Severity: Medium

ID: 422186

Version: Revision 1.3

Type: Local

Family: SCA Checks

Published: 3/28/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.18

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Low

Base Score: 2.1

Temporal Score: 1.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:N/A:N

CVSS Score Source: CVE-2017-5223

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 5

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/5/2020

Vulnerability Publication Date: 1/9/2017

Reference Information

CVE: CVE-2017-5223

BID: 95328

cwe: CWE-200