# CVE-2020-13625: Insufficient output escaping of attachment names in PHPMailer

Source: https://junglewise.ai/threats/cve-2020-13625-insufficient-output-escaping-of-attachment-names-in-phpmailer  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2020-05-27  
License: CC BY 4.0 with a link back

CVE-2020-13625 · Severity: low · CVSS 3.1 · Published 2020-05-27

Insufficient output escaping of attachment names in PHPMailer

Technologies: [phpmailer/phpmailer (Packagist)](https://junglewise.ai/threats/technologies/phpmailer-phpmailer). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2020-13625 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2020-13625 being exploited in the wild.

**How severe is CVE-2020-13625?** Low severity, with a CVSS score of 3.1, published 27 May 2020.

**Which products and versions are affected?** phpmailer/phpmailer (Packagist) ECOSYSTEM:introduced=0,fixed=6.1.6.

**Is there a fix for CVE-2020-13625?** Yes. phpmailer/phpmailer (Packagist): upgrade to 6.1.6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2020-13625?** Check whether you run phpmailer/phpmailer (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- phpmailer/phpmailer (Packagist): upgrade to 6.1.6 or later

  ```sh
  composer require phpmailer/phpmailer:^6.1.6
  ```


## Affected products

- phpmailer/phpmailer (Packagist) ECOSYSTEM:introduced=0,fixed=6.1.6

## Identifiers

- CVE-2020-13625
- GHSA-f7hx-fqxw-rvvj

## Related threats

- [PHPMailer Local file inclusion](https://junglewise.ai/threats/cve-2006-5734-phpmailer-local-file-inclusion)
- [PHPMailer Shell command injection](https://junglewise.ai/threats/cve-2007-3215-phpmailer-shell-command-injection)
- [PHPMailer vulnerable to email header injection](https://junglewise.ai/threats/cve-2012-0796-phpmailer-vulnerable-to-email-header-injection)
- [PHPMailer susceptible to arbitrary code execution](https://junglewise.ai/threats/cve-2008-5619-phpmailer-susceptible-to-arbitrary-code-execution)
- [PHPMailer untrusted code may be run from an overridden address validator](https://junglewise.ai/threats/cve-2021-3603-phpmailer-untrusted-code-may-be-run-from-an-overridden-address)
