Description
WordPress Plugin Contact Form by BestWebSoft 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 Contact Form by BestWebSoft version 4.0.1 is vulnerable; prior versions may also be affected.
Remediation
Update to plugin version 4.0.2 or latest
References
http://www.openwall.com/lists/oss-security/2017/03/01/3
https://packetstormsecurity.com/files/141427/WordPress-Contact-Form-4.0.0-Cross-Site-Scripting.html
https://wordpress.org/plugins/contact-form-plugin/changelog/
Related Vulnerabilities
WordPress Plugin Nextend Google Connect Cross-Site Scripting (1.5.0)
WordPress Plugin Google Analytics MU Cross-Site Request Forgery (2.3.1)
MySQL Configuration Vulnerability (CVE-2012-5613)
Drupal Core 4.6.x Denial of Service (4.6.0 - 4.6.10)
WordPress Plugin FancyBox for WordPress Security Bypass (3.0.2)