CVE-2025-6740 MEDIUM

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

Vendor Arshidkv12
Product Database Addon for Contact Form 7 – CFDB7
Weakness CWE-79 · XSS
Published July 4, 2025
Last update April 8, 2026

CVSS base score

6.1/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What the vulnerability does

01Description

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.

Explanation of Vulnerability in Simple Terms

02Summary

The Database Addon for Contact Form 7 (CFDB7) versions 1.3.1 and earlier contain a cross-site scripting (XSS) vulnerability. An attacker can inject malicious scripts that execute in a victim's browser when they view affected pages. The vulnerability requires user interaction and can affect other users or the site itself depending on context.

What an attacker can do

03Attacker Capabilities

Inject malicious scripts that run in visitors' browsers to steal data, redirect users, or deface content.

Potential impact on your site

04Site Impact

Visitors to your site may be compromised; their session data, credentials, or personal information could be stolen.

Conditions required to exploit

05Prerequisites

Victim must visit a page containing the attacker's malicious input; no authentication required.

Key dates

06Disclosure timeline

July 4, 2025 CVE published
April 8, 2026 Record updated