Description
WordPress Plugin NEX-Forms Lite-WordPress Contact Form builder 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 NEX-Forms Lite-WordPress Contact Form builder version 2.1.0 is vulnerable; other versions may also be affected.
Remediation
Remove the two vulnerable AJAX definitions in the 'includes/Core/class.db.php' file, specifically 'wp_ajax_nopriv_do_insert' and 'wp_ajax_nopriv_do_edit'
References
Related Vulnerabilities
WordPress Improper Control of Generation of Code ('Code Injection') Vulnerability (CVE-2009-3890)
Ultimate FAQ Cross-Site Scripting (1.8.21)
WordPress Permissions, Privileges, and Access Controls Vulnerability (CVE-2011-5270)
Apache Traffic Server Improper Input Validation Vulnerability (CVE-2021-37149)