Contact Form 7 Database Addon <= 1.2.5.4 - CSV Injection
Strategic Overview
- Status
- Patched in 1.2.5.6
- Affected Plugin
- Database Addon for Contact Form 7 – CFDB7
- Affected Version
< 1.2.5.6- CVSS
- 8.8High
- Weakness type
- CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
- CVE
CVE-2021-24144
At a glance
CVE-2021-24144 is a high-severity Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') vulnerability in the Database Addon for Contact Form 7 WordPress plugin, affecting versions < 1.2.5.6. It carries a CVSS score of 8.8 (reachable over the network; low attack complexity; high confidentiality, integrity, availability impact). Exploitation requires no authentication. The issue is fixed in version 1.2.5.6; sites on affected versions should update now. Disclosed January 2021, reported by SunCSR-thiennv.
Vulnerability Overview
Unvalidated input in the Contact Form 7 Database Addon plugin, versions before 1.2.5.6, was prone to a vulnerability that lets remote attackers inject arbitrary formulas into CSV files.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no privileges on the target site. A successful exploit has high impact on confidentiality, integrity, availability — full site compromise territory.
CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.
Remediation
Update to version 1.2.5.6, or a newer patched version
How does WordSec protect against this?
The attempt arrives as an ordinary request to Database Addon for Contact Form 7: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: Database Addon for Contact Form 7 1.2.5.6 closes this, and updating the plugin is the step that ends it.
- Firewall
- Alerts
External References
Related records
Other vulnerabilities in Database Addon for Contact Form 7 – CFDB7
- 8.8Contact Form 7 Database Addon <= 1.2.5.3 SQL Injection
- 7.2CVE-2022-3634: Contact Form 7 Database Addon <= 1.2.6.3 CSV Injection
CVE-2022-3634 - 6.5CVE-2021-36886: Contact Form 7 Database Addon – CFDB7 plugin CSRF
CVE-2021-36886 - 6.1CVE-2025-6740: Contact Form 7 Database Addon <= 1.3.1 Stored XSS
CVE-2025-6740 - 6.1CVE-2021-36885: Contact Form 7 Database Addon – CFDB7 Stored XSS
CVE-2021-36885 - 5.3CVE-2024-3870: Contact Form 7 Database Addon – CFDB7 Info Exposure
CVE-2024-3870
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C