Description
PHPMailer 6.1.8 through 6.4.0 allows object injection through Phar Deserialization via addAttachment with a UNC pathname. NOTE: this is similar to CVE-2018-19296, but arose because 6.1.8 fixed a functionality problem in which UNC pathnames were always considered unreadable by PHPMailer, even in safe contexts. As an unintended side effect, this fix eliminated the code that blocked addAttachment exploitation. WordPress Source: https://wordpress.org/news/2021/05/wordpress-5-7-2-security-release/
Remediation
References
Related Vulnerabilities
WordPress 2.8.2 Multiple Security Bypass Vulnerabilities (2.0 - 2.8.2)
WordPress 4.3.x Cross-Site Scripting Vulnerability (4.3 - 4.3.3)
Oracle Database Server CVE-2012-0552 Vulnerability (CVE-2012-0552)
WordPress Plugin BackWPup Cross-Site Scripting (3.0.12)
WordPress Plugin WP-Matomo (WP-Piwik) Unspecified Vulnerability (1.0.18)