Contact Form 7 – Dynamic Text Extension <= 5.0.6 - Unauthenticated Arbitrary Shortcode Execution
Summary
| CVE | CVE-2025-13146 |
|---|---|
| State | PUBLISHED |
| Assigner | Wordfence |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-22 12:16:54 UTC |
| Updated | 2026-07-22 16:30:26 UTC |
| Description | The The Contact Form 7 – Dynamic Text Extension plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 5.0.6. This is due to the software allowing users to execute an action that does not properly validate a value before running do_shortcode. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes. The vulnerability was partially patched in version 5.0.4. |
Risk And Classification
Primary CVSS: v3.1 6.5 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Problem Types: CWE-94 | CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| 3.1 | CNA | DECLARED | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Sevenspark | Contact Form 7 Dynamic Text Extension | affected 5.0.3 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| www.wordfence.com/threat-intel/vulnerabilities/id/3e5ad3a7-03c5-4085-b330-bc77e... | [email protected] | www.wordfence.com | |
| plugins.trac.wordpress.org/browser/contact-form-7-dynamic-text-extension/trunk/contact-f... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/contact-form-7-dynamic-text-extension/trunk/includes/... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/changeset/3430784 | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/contact-form-7-dynamic-text-extension/trunk/contact-f... | [email protected] | plugins.trac.wordpress.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: NosleeP++ (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2025-11-19T05:45:20.000Z | Vendor Notified |
| CNA | 2026-07-21T23:24:39.000Z | Disclosed |
There are currently no legacy QID mappings associated with this CVE.