# Insufficient output escaping of attachment names in PHPMailer

Advisory record · `GHSA-f7hx-fqxw-rvvj`

- **Identifiers:** `GHSA-f7hx-fqxw-rvvj` · `BIT-phpmailer-2020-13625` · `CVE-2020-13625` · `PKSA-8sw7-9x88-c8bx`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** No
- **Weakness (CWE):** [CWE-116](https://cwe.mitre.org/data/definitions/116.html)
- **Tags:** [CWE-116](https://agentprime.io/advisories/tag/cwe-116.md)
- **Published:** 27 May 2020
- **Updated:** 8 Jul 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 27 May 2020, 16:37 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `phpmailer/phpmailer` (Packagist): affected `<6.1.6`; fixed in `6.1.6`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.5 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.038, the 90th percentile, on 11 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 27 May 2020, 12:32 UTC: [Published by the maintainers as a GitHub repository advisory](https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-f7hx-fqxw-rvvj)
- 31 Oct 2026, 14:25 UTC: First seen by agentprime
- 31 Oct 2026, 14:25 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-f7hx-fqxw-rvvj)

## Sources

- [GitHub Advisory Database: GHSA-f7hx-fqxw-rvvj](https://github.com/advisories/GHSA-f7hx-fqxw-rvvj)
- [OSV: GHSA-f7hx-fqxw-rvvj](https://osv.dev/vulnerability/GHSA-f7hx-fqxw-rvvj)
- <https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-f7hx-fqxw-rvvj>
- <https://nvd.nist.gov/vuln/detail/CVE-2020-13625>
- <https://github.com/PHPMailer/PHPMailer/commit/c2796cb1cb99d7717290b48c4e6f32cb6c60b7b3>
- <https://github.com/PHPMailer/PHPMailer>
- <https://github.com/PHPMailer/PHPMailer/releases/tag/v6.1.6>
- <https://lists.debian.org/debian-lts-announce/2020/06/msg00014.html>
- <https://lists.debian.org/debian-lts-announce/2020/08/msg00004.html>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EFM3BZABL6RUHTVMXSC7OFMP4CKWMRPJ>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SMH4TC5XTS3KZVGMSKEPPBZ2XTZCKKCX>
- <https://usn.ubuntu.com/4505-1>
- <http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00067.html>
- <http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00085.html>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-f7hx-fqxw-rvvj>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-f7hx-fqxw-rvvj/>. Everything for agents: <https://agentprime.io/llms.txt>.
