Description
WordPress Plugin 404 to 301-Redirect, Log and Notify 404 Errors is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input. An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks. WordPress Plugin 404 to 301-Redirect, Log and Notify 404 Errors version 2.3.0 is vulnerable; prior versions may also be affected.
Remediation
Update to plugin version 2.3.1 or latest
References
https://gist.github.com/ldionmarcil/6793df929449f8781bb1e213d7e75e23
https://www.exploit-db.com/exploits/40732/
https://packetstormsecurity.com/files/139635/WordPress-404-To-301-2.2.8-Cross-Site-Scripting.html