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.
Published: 2026-07-22
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Contact Form 7 – Dynamic Text Extension plugin for WordPress is vulnerable to arbitrary shortcode execution on all versions up to and including 5.0.6. This flaw arises because the plugin runs do_shortcode on a user-controlled value that has not been properly validated, allowing an attacker to inject and execute any shortcode. The impact is the ability to run arbitrary code within the context of the plugin, potentially enabling other malicious actions. The vulnerability was partially patched in version 5.0.4 but remains in 5.0.6 and later fixed releases.

Affected Systems

All WordPress sites that include the sevenspark Contact Form 7 – Dynamic Text Extension plugin with a version number of 5.0.6 or earlier are affected. No other products are listed.

Risk and Exploitability

The CVSS score of 6.5 places this flaw in the medium severity range. The EPSS score of less than 1% indicates a very low probability of exploitation at the time of analysis. It is not listed in CISA’s KEV catalog. Attackers can trigger this flaw by sending unauthenticated HTTP requests that cause the plugin to invoke do_shortcode. The likely attack vector is network-based since the plugin processes user input from the web.

Generated by OpenCVE AI on August 5, 2026 at 01:08 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the plugin to a version beyond 5.0.6.
  • If an upgrade is not possible, disable or uninstall the plugin to remove the vulnerability.
  • Implement a whitelist or enforce input validation for shortcodes to mitigate CWE‑94.

Generated by OpenCVE AI on August 5, 2026 at 01:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 23 Jul 2026 08:45:00 +0000

Type Values Removed Values Added
First Time appeared Sevenspark
Sevenspark contact Form 7 - Dynamic Text Extension
Wordpress
Wordpress wordpress
Vendors & Products Sevenspark
Sevenspark contact Form 7 - Dynamic Text Extension
Wordpress
Wordpress wordpress

Wed, 22 Jul 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 22 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
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.
Title Contact Form 7 – Dynamic Text Extension <= 5.0.6 - Unauthenticated Arbitrary Shortcode Execution
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'}


Subscriptions

Sevenspark Contact Form 7 - Dynamic Text Extension
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-07-22T12:19:54.699Z

Reserved: 2025-11-13T20:03:00.603Z

Link: CVE-2025-13146

cve-icon Vulnrichment

Updated: 2026-07-22T12:19:51.283Z

cve-icon NVD

Status : Deferred

Published: 2026-07-22T12:16:54.763

Modified: 2026-07-22T16:30:26.533

Link: CVE-2025-13146

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T01:15:03Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')