Description
WordPress Plugin Contact Form Submissions is prone to an SQL injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query. Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database. WordPress Plugin Contact Form Submissions version 1.6.4 is vulnerable; prior versions may also be affected.
Remediation
Edit the source code to ensure that input is properly sanitised or disable the plugin until a fix is available
References
https://sploitus.com/exploit?id=WPEX-ID:8591B3C9-B041-4FF5-B8D9-6F9F81041178
https://wordpress.org/plugins/contact-form-submissions/#description
Related Vulnerabilities
Internet Information Services Improper Authentication Vulnerability (CVE-2009-1535)
Django Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2016-2513)
PHP Cryptographic Issues Vulnerability (CVE-2012-2143)
PrestaShop Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2022-46158)