CVE-2025-13146

Contact Form 7 – Dynamic Text Extension <= 5.0.7 - Unauthenticated Arbitrary Shortcode Execution

Published Jul 22, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.7. 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.

Analysis

AI-generated

Technical impact

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.7. The flaw occurs because the plugin does not properly validate a value before running do_shortcode, allowing unauthenticated attackers to inject and execute arbitrary shortcodes. The impact is the ability for unauthorized users to run shortcodes within the plugin, potentially leading to further malicious actions. The vulnerability was partially patched in version 5.0.4 but remains in 5.0.7.

Affected Systems

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

Risk and Exploitability

The CVSS 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 likely attack vector is network‑ web. All versions up to and including 5.0.7 are affected.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the plugin to a version beyond 5.0.7.
  • If an upgrade plugin to remove the vulnerability.
  • Implement a whitelist or enforce input validation for shortcodes to mitigate CWE‑94.

Generated by OpenCVE AI on September 21, 2026 at 06:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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. 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.7. 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 Contact Form 7 – Dynamic Text Extension <= 5.0.7 - Unauthenticated Arbitrary Shortcode Execution
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
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-94

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

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Sep 14, 2026, 10:39 PM
Reserved
Nov 13, 2025, 8:03 PM
Status
Deferred
Published
Jul 22, 2026, 12:16 PM
Modified
Sep 29, 2026, 7:10 PM