Amenazas en vivo

Todas las CVE / Phpmailer Project

CVE-2017-5223Phpmailer Project Phpmailer

Media 5.5

Prioridad
33
CVSS 3.0
5.5
EPSS
2.1%
probabilidad de explotación en 30 días · percentil 83
Requiere autenticación
Sí
Publicada
16 ene 2017
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-200
Vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Qué pasa

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.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Phpmailer.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
Packagist phpmailer/phpmailer ≥ 5.0.0 < 5.2.22 5.2.22 composer require "phpmailer/phpmailer:^5.2.22"

Según OSV / GitHub Advisories (GHSA-4x5h-cr29-fhp6). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
phpmailer_projectphpmailer≤ 5.2.21

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.