Vulnerability

CVE-2021-3603

highCVSS 3.1 8.1Published 17 Jun 2021

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

PHPMailer 6.4.1 and earlier contain a vulnerability that can result in untrusted code being called (if such code is injected into the host project's scope by other means). If the $patternselect parameter to validateAddress() is set to 'php' (the default, defined by PHPMailer::$validator), and the global namespace contains a function called php, it will be called in preference to the built-in validator of the same name. Mitigated in PHPMailer 6.5.0 by denying the use of simple strings as validator function names.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Fedoraproject fedora
  • Phpmailer Project phpmailer

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning