Ultimate Addons for Contact Form 7 <= 3.1.23 - Unauthenticated SQL Injection via form_id

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2022-47586
CVSS 9.8 (Critical)
Publicly Published May 9, 2023
Last Updated January 22, 2024
Researcher minhtuanact


The Ultimate Addons for Contact Form 7 plugin for WordPress is vulnerable to SQL Injection via the id, and form_id parameter in versions up to, and including, 3.1.23 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.



Vulnerability Details for Ultimate Addons for Contact Form 7

Software Type Plugin
Software Slug ultimate-addons-for-contact-form-7 (view on wordpress.org)
Patched? Yes
Remediation Update to version 3.1.24, or a newer patched version
Affected Version
  • <= 3.1.23
Patched Version
  • 3.1.24

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.