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

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.78%, higher than 90% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-05-27T16:37:02.000Z
- Modified: 2026-09-08T08:47:35.972Z
- Also known as: GHSA-f7hx-fqxw-rvvj, BIT-PHPMAILER-2020-13625
- Weaknesses: CWE-116
- Assigned by: mitre

## Description

PHPMailer before 6.1.6 contains an output escaping bug when the name of a file attachment contains a double quote character. This can result in the file type being misinterpreted by the receiver or any mail relay processing the message.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- phpmailer/phpmailer (Packagist): before 6.1.6
- phpmailer_project phpmailer: before 6.1.6
- fedoraproject fedora: 31; 32
- canonical ubuntu_linux: 18.04
- debian debian_linux: 8.0; 9.0
- phpmailer (Bitnami): before 6.1.6

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-f7hx-fqxw-rvvj> (exploit, advisory, patch, third-party-advisory, web)
- <https://github.com/PHPMailer/PHPMailer/releases/tag/v6.1.6> (advisory, release-notes, third-party-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2020/06/msg00014.html> (advisory, mailing-list, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SMH4TC5XTS3KZVGMSKEPPBZ2XTZCKKCX/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EFM3BZABL6RUHTVMXSC7OFMP4CKWMRPJ/> (vendor-advisory, web)
- <http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00067.html> (broken-link, vendor-advisory, web)
- <http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00085.html> (broken-link, vendor-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2020/08/msg00004.html> (advisory, mailing-list, third-party-advisory, web)
- <https://usn.ubuntu.com/4505-1/> (advisory, third-party-advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-13625> (advisory, web)
- <https://github.com/PHPMailer/PHPMailer/commit/c2796cb1cb99d7717290b48c4e6f32cb6c60b7b3> (web)
- <https://github.com/PHPMailer/PHPMailer> (package)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EFM3BZABL6RUHTVMXSC7OFMP4CKWMRPJ> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SMH4TC5XTS3KZVGMSKEPPBZ2XTZCKKCX> (web)
- <https://usn.ubuntu.com/4505-1> (web)

## Sources

- CVE List: [CVE-2020-13625](https://www.cve.org/CVERecord?id=CVE-2020-13625), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-f7hx-fqxw-rvvj](https://github.com/advisories/GHSA-f7hx-fqxw-rvvj), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2020-13625](https://nvd.nist.gov/vuln/detail/CVE-2020-13625), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-PHPMAILER-2020-13625](https://osv.dev/vulnerability/BIT-PHPMAILER-2020-13625), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2020-13625 · Whole record: https://cve.day/CVE-2020-13625.json · Rebuilt by cve.day 2026-11-25T22:57:52.760Z
