Contact Form to Any API <= 1.1.8 - Authenticated (Subscriber+) SQL Injection

9.9
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2024-30242
CVSS 9.9 (Critical)
Publicly Published March 26, 2024
Last Updated May 7, 2024
Researcher Le Ngoc Anh - sun*inc

Description

The Contact Form to Any API plugin for WordPress is vulnerable to SQL Injection in all versions up to, and including, 1.1.8 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with subscriber-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

Learn more about SQL Injection vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for Contact Form to Any API

Software Type Plugin
Software Slug contact-form-to-any-api (view on wordpress.org)
Patched? Yes
Remediation Update to version 1.1.9, or a newer patched version
Affected Version
  • <= 1.1.8
Patched Version
  • 1.1.9

Recent vulnerabilities in Contact Form to Any API

# Title CVE ID CVSS Researchers Date
1 Contact Form to Any API <= 3.0.6 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'cf7anyapi_form_field' Post Meta CVE-2026-15735 6.4 Wordfence PRISM July 28, 2026
2 Contact Form to Any API <= 3.0.3 - Unauthenticated Stored Cross-Site Scripting CVE-2026-39449 7.2 Saleh Elsayed (0xManticore) April 22, 2026
3 Contact Form to Any API <= 1.2.4 - Unauthenticated Stored Cross-Site Scripting via Contact Form CVE-2024-7617 7.2 Jorgson September 24, 2024
4 Contact Form to Any API <= 1.1.6 - Missing Authorization via delete_cf7_records() CVE-2023-47871 6.5 Arvandy November 20, 2023
5 Contact Form to Any API <= 1.1.2 - Authenticated (Administrator+) SQL Injection via 'form_id' CVE-2023-32741 7.2 Arvandy July 17, 2023

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.

Documentation