Contact Form 7 Database Addon <= 1.3.1 - Unauthenticated Stored Cross-Site Scripting via tmpD Parameter

6.1
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2025-6740
CVSS 6.1 (Medium)
Publicly Published July 3, 2025
Last Updated July 4, 2025
Researcher Phat RiO

Description

The Contact Form 7 Database Addon plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘tmpD’ parameter in all versions up to, and including, 1.3.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Learn more about Cross-Site Scripting 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.3.2, or a newer patched version
Affected Version
  • <= 1.3.1
Patched Version
  • 1.3.2

Recent vulnerabilities in Database Addon for Contact Form 7 – CFDB7

# Title CVE ID CVSS Researchers Date
1 Database Addon for Contact Form 7 <= 1.4.1 - Unauthenticated Limited File Deletion via Injected 'attackcfdb7_file' Submission Field CVE-2026-107652 5.3 Sawyer October 13, 2026
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
7 Contact Form 7 Database Addon <= 1.2.5.3 - SQL Injection 8.8 January 19, 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