{"url":"http://public2.vulnerablecode.io/api/packages/180721?format=json","purl":"pkg:composer/phpmailer/phpmailer@6.0.4","type":"composer","namespace":"phpmailer","name":"phpmailer","version":"6.0.4","qualifiers":{},"subpath":"","is_vulnerable":true,"next_non_vulnerable_version":"6.5.0","latest_non_vulnerable_version":"6.5.0","affected_by_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/33992?format=json","vulnerability_id":"VCID-16kp-5zpw-fbha","summary":"Insufficient output escaping of attachment names in PHPMailer\n### Impact\nCWE-116: Incorrect output escaping.\n\nAn attachment added like this (note the double quote within the attachment name, which is entirely valid):\n\n    $mail->addAttachment('/tmp/attachment.tmp', 'filename.html\";.jpg');\n\nWill result in a message containing these headers:\n\n    Content-Type: application/octet-stream; name=\"filename.html\";.jpg\"\n    Content-Disposition: attachment; filename=\"filename.html\";.jpg\"\n\nThe attachment will be named `filename.html`, and the trailing `\";.jpg\"` will be ignored. Mail filters that reject `.html` attachments but permit `.jpg` attachments may be fooled by this.\n\nNote that the MIME type itself is obtained automatically from the *source filename* (in this case `attachment.tmp`, which maps to a generic `application/octet-stream` type), and not the *name* given to the attachment (though these are the same if a separate name is not provided), though it can be set explicitly in other parameters to attachment methods.\n\n### Patches\nPatched in PHPMailer 6.1.6 by escaping double quotes within the name using a backslash, as per RFC822 section 3.4.1, resulting in correctly escaped headers like this:\n\n    Content-Type: application/octet-stream; name=\"filename.html\\\";.jpg\"\n    Content-Disposition: attachment; filename=\"filename.html\\\";.jpg\"\n\n### Workarounds\nReject or filter names and filenames containing double quote (`\"`) characters before passing them to attachment functions such as `addAttachment()`.\n\n### References\n[CVE-2020-13625](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-13625).\n[PHPMailer 6.1.6 release](https://github.com/PHPMailer/PHPMailer/releases/tag/v6.1.6)\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [the PHPMailer repo](https://github.com/PHPMailer/PHPMailer/issues)","references":[{"reference_url":"http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00067.html","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00067.html"},{"reference_url":"http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00085.html","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00085.html"},{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2020-13625","reference_id":"","reference_type":"","scores":[{"value":"0.04546","scoring_system":"epss","scoring_elements":"0.89212","published_at":"2026-04-24T12:55:00Z"},{"value":"0.04546","scoring_system":"epss","scoring_elements":"0.89195","published_at":"2026-04-21T12:55:00Z"},{"value":"0.04546","scoring_system":"epss","scoring_elements":"0.89199","published_at":"2026-04-18T12:55:00Z"},{"value":"0.04546","scoring_system":"epss","scoring_elements":"0.89187","published_at":"2026-04-13T12:55:00Z"},{"value":"0.04546","scoring_system":"epss","scoring_elements":"0.89189","published_at":"2026-04-12T12:55:00Z"},{"value":"0.04546","scoring_system":"epss","scoring_elements":"0.89193","published_at":"2026-04-11T12:55:00Z"},{"value":"0.04546","scoring_system":"epss","scoring_elements":"0.89183","published_at":"2026-04-09T12:55:00Z"},{"value":"0.04546","scoring_system":"epss","scoring_elements":"0.89178","published_at":"2026-04-08T12:55:00Z"},{"value":"0.04546","scoring_system":"epss","scoring_elements":"0.8916","published_at":"2026-04-07T12:55:00Z"},{"value":"0.04546","scoring_system":"epss","scoring_elements":"0.89158","published_at":"2026-04-04T12:55:00Z"},{"value":"0.04546","scoring_system":"epss","scoring_elements":"0.89142","published_at":"2026-04-02T12:55:00Z"},{"value":"0.04546","scoring_system":"epss","scoring_elements":"0.89135","published_at":"2026-04-01T12:55:00Z"},{"value":"0.04546","scoring_system":"epss","scoring_elements":"0.89222","published_at":"2026-04-29T12:55:00Z"},{"value":"0.04546","scoring_system":"epss","scoring_elements":"0.89229","published_at":"2026-05-05T12:55:00Z"},{"value":"0.04546","scoring_system":"epss","scoring_elements":"0.89218","published_at":"2026-04-26T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2020-13625"},{"reference_url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-13625","reference_id":"","reference_type":"","scores":[],"url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-13625"},{"reference_url":"https://github.com/PHPMailer/PHPMailer","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/PHPMailer/PHPMailer"},{"reference_url":"https://github.com/PHPMailer/PHPMailer/commit/c2796cb1cb99d7717290b48c4e6f32cb6c60b7b3","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/PHPMailer/PHPMailer/commit/c2796cb1cb99d7717290b48c4e6f32cb6c60b7b3"},{"reference_url":"https://github.com/PHPMailer/PHPMailer/releases/tag/v6.1.6","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/PHPMailer/PHPMailer/releases/tag/v6.1.6"},{"reference_url":"https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-f7hx-fqxw-rvvj","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-f7hx-fqxw-rvvj"},{"reference_url":"https://lists.debian.org/debian-lts-announce/2020/06/msg00014.html","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://lists.debian.org/debian-lts-announce/2020/06/msg00014.html"},{"reference_url":"https://lists.debian.org/debian-lts-announce/2020/08/msg00004.html","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://lists.debian.org/debian-lts-announce/2020/08/msg00004.html"},{"reference_url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EFM3BZABL6RUHTVMXSC7OFMP4CKWMRPJ","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EFM3BZABL6RUHTVMXSC7OFMP4CKWMRPJ"},{"reference_url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EFM3BZABL6RUHTVMXSC7OFMP4CKWMRPJ/","reference_id":"","reference_type":"","scores":[],"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EFM3BZABL6RUHTVMXSC7OFMP4CKWMRPJ/"},{"reference_url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SMH4TC5XTS3KZVGMSKEPPBZ2XTZCKKCX","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SMH4TC5XTS3KZVGMSKEPPBZ2XTZCKKCX"},{"reference_url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SMH4TC5XTS3KZVGMSKEPPBZ2XTZCKKCX/","reference_id":"","reference_type":"","scores":[],"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SMH4TC5XTS3KZVGMSKEPPBZ2XTZCKKCX/"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13625","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13625"},{"reference_url":"https://usn.ubuntu.com/4505-1","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://usn.ubuntu.com/4505-1"},{"reference_url":"https://usn.ubuntu.com/4505-1/","reference_id":"","reference_type":"","scores":[],"url":"https://usn.ubuntu.com/4505-1/"},{"reference_url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=962827","reference_id":"962827","reference_type":"","scores":[],"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=962827"},{"reference_url":"https://github.com/advisories/GHSA-f7hx-fqxw-rvvj","reference_id":"GHSA-f7hx-fqxw-rvvj","reference_type":"","scores":[{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-f7hx-fqxw-rvvj"},{"reference_url":"https://usn.ubuntu.com/5956-1/","reference_id":"USN-5956-1","reference_type":"","scores":[],"url":"https://usn.ubuntu.com/5956-1/"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/73566?format=json","purl":"pkg:composer/phpmailer/phpmailer@6.1.6","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-44d3-4txm-cyc3"},{"vulnerability":"VCID-jca1-hyks-kud3"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@6.1.6"}],"aliases":["CVE-2020-13625","GHSA-f7hx-fqxw-rvvj"],"risk_score":4.0,"exploitability":"0.5","weighted_severity":"8.0","resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-16kp-5zpw-fbha"},{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/46051?format=json","vulnerability_id":"VCID-44d3-4txm-cyc3","summary":"Remote Code Execution vulnerability in PHPMailer 6.4.1 running on Windows\nPHPMailer 6.4.1 contains a possible remote code execution vulnerability through the `$lang_path` parameter of the `setLanguage()` method. If the `$lang_path` parameter is passed unfiltered from user input, it can be set to [a UNC path](https://docs.microsoft.com/en-us/dotnet/standard/io/file-path-formats#unc-paths), and if an attacker is also able to create a remote mount on the server that the UNC path points to, a script file under their control may be executed. \n\n### Impact\nArbitrary code may be run by a remote attacker under the web server or PHP process running on Window hosts.\n\n### Patches\nMitigated in PHPMailer 6.5.0 by no longer treating translation files as PHP code, but by parsing their text content directly.\nThis approach avoids the possibility of executing unknown code while retaining backward compatibility. This isn't ideal, so the current translation format is deprecated and will be replaced in the next major release.\n\n### Workarounds\nAny of:\n* Ensure that calling code does not pass unfiltered user-supplied data to the `$lang_path` parameter of the `setLanguage()` method.\n* Block or filter the use of unknown UNC paths in this parameter (or altogether).\n* Ensure that unauthorised users do not have the ability to read from unknown remote servers via UNC paths.\n* Run on an OS that does not support UNC paths\n\n### References\n[CVE-2021-34551](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-34551).\n\nReported by [listensec.com](https://listensec.com) via Tidelift.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [PHPMailer](https://github.com/PHPMailer/PHPMailer)\n* [Email the maintainers](mailto:phpmailer@synchromedia.co.uk)","references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2021-34551","reference_id":"","reference_type":"","scores":[{"value":"0.02108","scoring_system":"epss","scoring_elements":"0.84094","published_at":"2026-04-09T12:55:00Z"},{"value":"0.02108","scoring_system":"epss","scoring_elements":"0.84183","published_at":"2026-05-05T12:55:00Z"},{"value":"0.02108","scoring_system":"epss","scoring_elements":"0.84163","published_at":"2026-04-29T12:55:00Z"},{"value":"0.02108","scoring_system":"epss","scoring_elements":"0.84159","published_at":"2026-04-26T12:55:00Z"},{"value":"0.02108","scoring_system":"epss","scoring_elements":"0.84152","published_at":"2026-04-24T12:55:00Z"},{"value":"0.02108","scoring_system":"epss","scoring_elements":"0.84128","published_at":"2026-04-21T12:55:00Z"},{"value":"0.02108","scoring_system":"epss","scoring_elements":"0.84105","published_at":"2026-04-12T12:55:00Z"},{"value":"0.02108","scoring_system":"epss","scoring_elements":"0.84033","published_at":"2026-04-01T12:55:00Z"},{"value":"0.02108","scoring_system":"epss","scoring_elements":"0.84111","published_at":"2026-04-11T12:55:00Z"},{"value":"0.02108","scoring_system":"epss","scoring_elements":"0.84046","published_at":"2026-04-02T12:55:00Z"},{"value":"0.02108","scoring_system":"epss","scoring_elements":"0.84063","published_at":"2026-04-04T12:55:00Z"},{"value":"0.02108","scoring_system":"epss","scoring_elements":"0.84064","published_at":"2026-04-07T12:55:00Z"},{"value":"0.02108","scoring_system":"epss","scoring_elements":"0.84088","published_at":"2026-04-08T12:55:00Z"},{"value":"0.02108","scoring_system":"epss","scoring_elements":"0.84125","published_at":"2026-04-18T12:55:00Z"},{"value":"0.02108","scoring_system":"epss","scoring_elements":"0.84123","published_at":"2026-04-16T12:55:00Z"},{"value":"0.02108","scoring_system":"epss","scoring_elements":"0.84101","published_at":"2026-04-13T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2021-34551"},{"reference_url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmailer/phpmailer/CVE-2021-34551.yaml","reference_id":"","reference_type":"","scores":[{"value":"8.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmailer/phpmailer/CVE-2021-34551.yaml"},{"reference_url":"https://github.com/PHPMailer/PHPMailer/blob/master/SECURITY.md","reference_id":"","reference_type":"","scores":[{"value":"8.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/PHPMailer/PHPMailer/blob/master/SECURITY.md"},{"reference_url":"https://github.com/PHPMailer/PHPMailer/commit/acd264bf17ff4ac5c915f0d4226dce8a9ea70bc3","reference_id":"","reference_type":"","scores":[{"value":"8.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/PHPMailer/PHPMailer/commit/acd264bf17ff4ac5c915f0d4226dce8a9ea70bc3"},{"reference_url":"https://github.com/PHPMailer/PHPMailer/releases/tag/v6.5.0","reference_id":"","reference_type":"","scores":[{"value":"8.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/PHPMailer/PHPMailer/releases/tag/v6.5.0"},{"reference_url":"https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-7q44-r25x-wm4q","reference_id":"","reference_type":"","scores":[{"value":"8.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-7q44-r25x-wm4q"},{"reference_url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3YRMWGA4VTMXFB22KICMB7YMFZNFV3EJ","reference_id":"","reference_type":"","scores":[{"value":"8.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3YRMWGA4VTMXFB22KICMB7YMFZNFV3EJ"},{"reference_url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3YRMWGA4VTMXFB22KICMB7YMFZNFV3EJ/","reference_id":"","reference_type":"","scores":[],"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3YRMWGA4VTMXFB22KICMB7YMFZNFV3EJ/"},{"reference_url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FJYSOFCUBS67J3TKR74SD3C454N7VTYM","reference_id":"","reference_type":"","scores":[{"value":"8.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FJYSOFCUBS67J3TKR74SD3C454N7VTYM"},{"reference_url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FJYSOFCUBS67J3TKR74SD3C454N7VTYM/","reference_id":"","reference_type":"","scores":[],"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FJYSOFCUBS67J3TKR74SD3C454N7VTYM/"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2021-34551","reference_id":"","reference_type":"","scores":[{"value":"8.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-34551"},{"reference_url":"https://github.com/advisories/GHSA-7q44-r25x-wm4q","reference_id":"GHSA-7q44-r25x-wm4q","reference_type":"","scores":[{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-7q44-r25x-wm4q"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/76359?format=json","purl":"pkg:composer/phpmailer/phpmailer@6.5.0","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@6.5.0"}],"aliases":["CVE-2021-34551","GHSA-7q44-r25x-wm4q"],"risk_score":4.0,"exploitability":"0.5","weighted_severity":"8.0","resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-44d3-4txm-cyc3"},{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/10066?format=json","vulnerability_id":"VCID-f585-qf89-f7f3","summary":"Object injection\nPHPMailer is vulnerable to an object injection attack.","references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2018-19296","reference_id":"","reference_type":"","scores":[{"value":"0.01553","scoring_system":"epss","scoring_elements":"0.81489","published_at":"2026-04-24T12:55:00Z"},{"value":"0.01553","scoring_system":"epss","scoring_elements":"0.8152","published_at":"2026-05-05T12:55:00Z"},{"value":"0.01553","scoring_system":"epss","scoring_elements":"0.81502","published_at":"2026-04-29T12:55:00Z"},{"value":"0.01553","scoring_system":"epss","scoring_elements":"0.81497","published_at":"2026-04-26T12:55:00Z"},{"value":"0.01553","scoring_system":"epss","scoring_elements":"0.81436","published_at":"2026-04-12T12:55:00Z"},{"value":"0.01553","scoring_system":"epss","scoring_elements":"0.81429","published_at":"2026-04-13T12:55:00Z"},{"value":"0.01553","scoring_system":"epss","scoring_elements":"0.81466","published_at":"2026-04-16T12:55:00Z"},{"value":"0.01553","scoring_system":"epss","scoring_elements":"0.81467","published_at":"2026-04-18T12:55:00Z"},{"value":"0.01553","scoring_system":"epss","scoring_elements":"0.81468","published_at":"2026-04-21T12:55:00Z"},{"value":"0.02119","scoring_system":"epss","scoring_elements":"0.84067","published_at":"2026-04-01T12:55:00Z"},{"value":"0.02119","scoring_system":"epss","scoring_elements":"0.84146","published_at":"2026-04-11T12:55:00Z"},{"value":"0.02119","scoring_system":"epss","scoring_elements":"0.84128","published_at":"2026-04-09T12:55:00Z"},{"value":"0.02119","scoring_system":"epss","scoring_elements":"0.84122","published_at":"2026-04-08T12:55:00Z"},{"value":"0.02119","scoring_system":"epss","scoring_elements":"0.84099","published_at":"2026-04-07T12:55:00Z"},{"value":"0.02119","scoring_system":"epss","scoring_elements":"0.84097","published_at":"2026-04-04T12:55:00Z"},{"value":"0.02119","scoring_system":"epss","scoring_elements":"0.8408","published_at":"2026-04-02T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2018-19296"},{"reference_url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-19296","reference_id":"","reference_type":"","scores":[],"url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-19296"},{"reference_url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmailer/phpmailer/CVE-2018-19296.yaml","reference_id":"","reference_type":"","scores":[{"value":"8.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmailer/phpmailer/CVE-2018-19296.yaml"},{"reference_url":"https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.27","reference_id":"","reference_type":"","scores":[{"value":"8.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.27"},{"reference_url":"https://github.com/PHPMailer/PHPMailer/releases/tag/v6.0.6","reference_id":"","reference_type":"","scores":[{"value":"8.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/PHPMailer/PHPMailer/releases/tag/v6.0.6"},{"reference_url":"https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-7w4p-72j7-v7c2","reference_id":"","reference_type":"","scores":[{"value":"8.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-7w4p-72j7-v7c2"},{"reference_url":"https://lists.debian.org/debian-lts-announce/2018/12/msg00020.html","reference_id":"","reference_type":"","scores":[{"value":"8.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://lists.debian.org/debian-lts-announce/2018/12/msg00020.html"},{"reference_url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3B5WDPGUFNPG4NAZ6G4BZX43BKLAVA5B","reference_id":"","reference_type":"","scores":[{"value":"8.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3B5WDPGUFNPG4NAZ6G4BZX43BKLAVA5B"},{"reference_url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3B5WDPGUFNPG4NAZ6G4BZX43BKLAVA5B/","reference_id":"","reference_type":"","scores":[],"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3B5WDPGUFNPG4NAZ6G4BZX43BKLAVA5B/"},{"reference_url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KPU66INRFY5BQ3ESVPRUXJR4DXQAFJVT","reference_id":"","reference_type":"","scores":[{"value":"8.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KPU66INRFY5BQ3ESVPRUXJR4DXQAFJVT"},{"reference_url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KPU66INRFY5BQ3ESVPRUXJR4DXQAFJVT/","reference_id":"","reference_type":"","scores":[],"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KPU66INRFY5BQ3ESVPRUXJR4DXQAFJVT/"},{"reference_url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3B5WDPGUFNPG4NAZ6G4BZX43BKLAVA5B","reference_id":"","reference_type":"","scores":[{"value":"8.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3B5WDPGUFNPG4NAZ6G4BZX43BKLAVA5B"},{"reference_url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3B5WDPGUFNPG4NAZ6G4BZX43BKLAVA5B/","reference_id":"","reference_type":"","scores":[],"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3B5WDPGUFNPG4NAZ6G4BZX43BKLAVA5B/"},{"reference_url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KPU66INRFY5BQ3ESVPRUXJR4DXQAFJVT","reference_id":"","reference_type":"","scores":[{"value":"8.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KPU66INRFY5BQ3ESVPRUXJR4DXQAFJVT"},{"reference_url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KPU66INRFY5BQ3ESVPRUXJR4DXQAFJVT/","reference_id":"","reference_type":"","scores":[],"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KPU66INRFY5BQ3ESVPRUXJR4DXQAFJVT/"},{"reference_url":"https://www.debian.org/security/2018/dsa-4351","reference_id":"","reference_type":"","scores":[{"value":"8.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://www.debian.org/security/2018/dsa-4351"},{"reference_url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913912","reference_id":"913912","reference_type":"","scores":[],"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913912"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2018-19296","reference_id":"CVE-2018-19296","reference_type":"","scores":[{"value":"8.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-19296"},{"reference_url":"https://github.com/advisories/GHSA-7w4p-72j7-v7c2","reference_id":"GHSA-7w4p-72j7-v7c2","reference_type":"","scores":[{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-7w4p-72j7-v7c2"},{"reference_url":"https://usn.ubuntu.com/5956-1/","reference_id":"USN-5956-1","reference_type":"","scores":[],"url":"https://usn.ubuntu.com/5956-1/"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/33304?format=json","purl":"pkg:composer/phpmailer/phpmailer@6.0.6","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-16kp-5zpw-fbha"},{"vulnerability":"VCID-44d3-4txm-cyc3"},{"vulnerability":"VCID-jca1-hyks-kud3"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@6.0.6"}],"aliases":["CVE-2018-19296","GHSA-7w4p-72j7-v7c2"],"risk_score":4.0,"exploitability":"0.5","weighted_severity":"8.0","resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-f585-qf89-f7f3"},{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/44410?format=json","vulnerability_id":"VCID-jca1-hyks-kud3","summary":"PHPMailer untrusted code may be run from an overridden address validator\nIf a function is defined that has the same name as the default built-in email address validation scheme (`php`), it will be called in default configuration as when no validation scheme is provided, the default scheme's callable `php` was being called. If an attacker is able to inject such a function into the application (a much bigger issue), it will be called whenever an email address is validated, such as when calling `validateAddress()`.\n\n### Impact\nLow impact – exploitation requires that an attacker can already inject code into an application, but it provides a trigger pathway.\n\n### Patches\nThis is patched in PHPMailer 6.5.0 by denying the use of simple strings as validator function names, which is a very minor BC break.\n\n### Workarounds\nInject your own email validator function.\n\n### References\nReported by [Vikrant Singh Chauhan](mailto:vi@hackberry.xyz) via [huntr.dev](https://www.huntr.dev/).\n[CVE-2021-3603](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-3603)\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [the PHPMailer project](https://github.com/PHPMailer/PHPMailer)\n* [Email us](mailto:phpmailer@synchromedia.co.uk).","references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2021-3603","reference_id":"","reference_type":"","scores":[{"value":"0.00778","scoring_system":"epss","scoring_elements":"0.73589","published_at":"2026-04-01T12:55:00Z"},{"value":"0.00778","scoring_system":"epss","scoring_elements":"0.7372","published_at":"2026-05-05T12:55:00Z"},{"value":"0.00778","scoring_system":"epss","scoring_elements":"0.73727","published_at":"2026-04-29T12:55:00Z"},{"value":"0.00778","scoring_system":"epss","scoring_elements":"0.73726","published_at":"2026-04-26T12:55:00Z"},{"value":"0.00778","scoring_system":"epss","scoring_elements":"0.73717","published_at":"2026-04-24T12:55:00Z"},{"value":"0.00778","scoring_system":"epss","scoring_elements":"0.73685","published_at":"2026-04-21T12:55:00Z"},{"value":"0.00778","scoring_system":"epss","scoring_elements":"0.73693","published_at":"2026-04-18T12:55:00Z"},{"value":"0.00778","scoring_system":"epss","scoring_elements":"0.73631","published_at":"2026-04-08T12:55:00Z"},{"value":"0.00778","scoring_system":"epss","scoring_elements":"0.73595","published_at":"2026-04-07T12:55:00Z"},{"value":"0.00778","scoring_system":"epss","scoring_elements":"0.73622","published_at":"2026-04-04T12:55:00Z"},{"value":"0.00778","scoring_system":"epss","scoring_elements":"0.73598","published_at":"2026-04-02T12:55:00Z"},{"value":"0.00778","scoring_system":"epss","scoring_elements":"0.73684","published_at":"2026-04-16T12:55:00Z"},{"value":"0.00778","scoring_system":"epss","scoring_elements":"0.73641","published_at":"2026-04-13T12:55:00Z"},{"value":"0.00778","scoring_system":"epss","scoring_elements":"0.73649","published_at":"2026-04-12T12:55:00Z"},{"value":"0.00778","scoring_system":"epss","scoring_elements":"0.73666","published_at":"2026-04-11T12:55:00Z"},{"value":"0.00778","scoring_system":"epss","scoring_elements":"0.73644","published_at":"2026-04-09T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2021-3603"},{"reference_url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3603","reference_id":"","reference_type":"","scores":[],"url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3603"},{"reference_url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmailer/phpmailer/CVE-2021-3603.yaml","reference_id":"","reference_type":"","scores":[{"value":"8.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmailer/phpmailer/CVE-2021-3603.yaml"},{"reference_url":"https://github.com/PHPMailer/PHPMailer","reference_id":"","reference_type":"","scores":[{"value":"8.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/PHPMailer/PHPMailer"},{"reference_url":"https://github.com/PHPMailer/PHPMailer/commit/45f3c18dc6a2de1cb1bf49b9b249a9ee36a5f7f3","reference_id":"","reference_type":"","scores":[{"value":"8.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/PHPMailer/PHPMailer/commit/45f3c18dc6a2de1cb1bf49b9b249a9ee36a5f7f3"},{"reference_url":"https://github.com/PHPMailer/PHPMailer/releases/tag/v6.5.0","reference_id":"","reference_type":"","scores":[{"value":"8.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/PHPMailer/PHPMailer/releases/tag/v6.5.0"},{"reference_url":"https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-77mr-wc79-m8j3","reference_id":"","reference_type":"","scores":[{"value":"8.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-77mr-wc79-m8j3"},{"reference_url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3YRMWGA4VTMXFB22KICMB7YMFZNFV3EJ","reference_id":"","reference_type":"","scores":[{"value":"8.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3YRMWGA4VTMXFB22KICMB7YMFZNFV3EJ"},{"reference_url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3YRMWGA4VTMXFB22KICMB7YMFZNFV3EJ/","reference_id":"","reference_type":"","scores":[],"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3YRMWGA4VTMXFB22KICMB7YMFZNFV3EJ/"},{"reference_url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FJYSOFCUBS67J3TKR74SD3C454N7VTYM","reference_id":"","reference_type":"","scores":[{"value":"8.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FJYSOFCUBS67J3TKR74SD3C454N7VTYM"},{"reference_url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FJYSOFCUBS67J3TKR74SD3C454N7VTYM/","reference_id":"","reference_type":"","scores":[],"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FJYSOFCUBS67J3TKR74SD3C454N7VTYM/"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3603","reference_id":"","reference_type":"","scores":[{"value":"8.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3603"},{"reference_url":"https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-3603","reference_id":"","reference_type":"","scores":[{"value":"8.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-3603"},{"reference_url":"https://www.huntr.dev/bounties/1-PHPMailer/PHPMailer","reference_id":"","reference_type":"","scores":[{"value":"8.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://www.huntr.dev/bounties/1-PHPMailer/PHPMailer"},{"reference_url":"https://www.huntr.dev/bounties/1-PHPMailer/PHPMailer/","reference_id":"","reference_type":"","scores":[],"url":"https://www.huntr.dev/bounties/1-PHPMailer/PHPMailer/"},{"reference_url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991666","reference_id":"991666","reference_type":"","scores":[],"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991666"},{"reference_url":"https://github.com/advisories/GHSA-77mr-wc79-m8j3","reference_id":"GHSA-77mr-wc79-m8j3","reference_type":"","scores":[{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-77mr-wc79-m8j3"},{"reference_url":"https://usn.ubuntu.com/5956-1/","reference_id":"USN-5956-1","reference_type":"","scores":[],"url":"https://usn.ubuntu.com/5956-1/"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/76359?format=json","purl":"pkg:composer/phpmailer/phpmailer@6.5.0","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@6.5.0"}],"aliases":["CVE-2021-3603","GHSA-77mr-wc79-m8j3"],"risk_score":4.0,"exploitability":"0.5","weighted_severity":"8.0","resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-jca1-hyks-kud3"}],"fixing_vulnerabilities":[],"risk_score":"4.0","resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@6.0.4"}