Contact Form 7 Database Addon <= 1.2.5.3 - SQL Injection

8.8
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVSS 8.8 (High)
Publicly Published January 19, 2021
Last Updated January 22, 2024

Description

The Contact Form 7 Database Addon plugin for WordPress is vulnerable to SQL Injection in versions up to, and including 1.2.5.3, that makes it possible for attackers to append arbitrary SQL queries into an existing query via the form_id parameter. This can be exploit by authenticated attackers to retrieve sensitive information from the database.

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

References

Share

Vulnerability Details for Database Addon for Contact Form 7 – CFDB7

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

Recent vulnerabilities in Database Addon for Contact Form 7 – CFDB7

# Title CVE ID CVSS Researchers Date
1 Contact Form 7 Database Addon <= 1.3.1 - Unauthenticated Stored Cross-Site Scripting via tmpD Parameter CVE-2025-6740 6.1 Phat RiO July 3, 2025
2 Contact Form 7 Database Addon – CFDB7 <= 1.2.6.8 - Unauthenticated Sensitive Information Exposure CVE-2024-3870 5.3 Tim Coen April 26, 2024
3 Contact Form 7 Database Addon <= 1.2.6.3 - CSV Injection CVE-2022-3634 7.2 Adel Bouaricha October 27, 2022
4 Contact Form 7 Database Addon – CFDB7 plugin <= 1.2.5.9 - Cross-Site Request Forgery CVE-2021-36886 6.5 R3N0 November 12, 2021
5 Contact Form 7 Database Addon – CFDB7 <= 1.2.6.1 - Unauthenticated Stored Cross-Site Scripting CVE-2021-36885 6.1 R3N0 November 12, 2021
6 Contact Form 7 Database Addon <= 1.2.5.4 - CSV Injection CVE-2021-24144 8.8 SunCSR-thiennv January 25, 2021

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