Todas las CVE / Phpmailer Project
CVE-2017-5223Phpmailer Project Phpmailer
Media 5.5
Seguir: esta CVE · Phpmailer Project · Phpmailer Project Phpmailer Te avisamos por email o Slack (requiere cuenta).
- 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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Phpmailer.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Có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)
| Fabricante | Producto | Versiones |
|---|---|---|
| phpmailer_project | phpmailer | ≤ 5.2.21 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- kalilinux.co Exploit Third Party Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- github.com Issue Tracking Patch Third Party Advisory
- www.exploit-db.com