CVE-2025-6740 Contact Form 7 Database Addon <= 1.3.1 - Unauthenticated Stored Cross-Site Scripting via tmpD Parameter
Unauthenticated attackers can inject arbitrary web scripts via the tmpD parameter, leading to stored XSS execution when users access affected pages.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-6740?
CVE-2025-6740 is a medium-severity cross-site scripting vulnerability in arshidkv12 Database Addon for Contact Form 7 – CFDB7, published on 4 Jul 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2025-6740?
It affects 1 product.
Products include Ciphercoin Contact Form 7 Database Addon.
How do I fix CVE-2025-6740?
No fix has been published for CVE-2025-6740 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-6740 being exploited?
There is no known exploitation of CVE-2025-6740 in the wild and no public exploit code.
Other vulnerabilities in arshidkv12 Database Addon for Contact Form 7 – CFDB7
- CVE-2022-3634 Contact Form 7 Database Addon < 1.2.6.5 - CSV Injection
- CVE-2021-24144 Contact Form 7 Database Addon < 1.2.5.6 - CSV Injection
- CVE-2021-36886 WordPress Contact Form 7 Database Addon – CFDB7 plugin <= 1.2.5.9 - Cross-Site Request Forgery (CSRF) vulnerability
- CVE-2021-36885 Cross-site scripting in Contact Form 7 Database Addon – CFDB7 (WordPress plugin)
Sources
Also known as GHSA-72r8-m4j3-hjr5.