PatchSiren cyber security CVE debrief
CVE-2025-13146 sevenspark CVE debrief
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 vulnerability affects WordPress deployments using the Contact Form 7 – Dynamic Text Extension plugin, particularly those allowing unauthenticated user interaction.
- Vendor
- sevenspark
- Product
- Contact Form 7 – Dynamic Text Extension
- CVSS
- MEDIUM 6.5
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-07-22
- Original CVE updated
- 2026-07-22
- Advisory published
- 2026-07-22
- Advisory updated
- 2026-07-22
Who should care
Users of the Contact Form 7 – Dynamic Text Extension plugin for WordPress should be aware of this vulnerability and take steps to mitigate it, especially if they allow unauthenticated users to interact with the plugin. This includes administrators of WordPress sites using the plugin, security teams monitoring for potential exploits, and operators responsible for maintaining the affected systems.
Technical summary
The Contact Form 7 – Dynamic Text Extension plugin for WordPress is vulnerable to arbitrary shortcode execution. This is due to insufficient validation of user input before passing it to the do_shortcode function. An attacker could exploit this vulnerability to execute arbitrary shortcodes, potentially leading to various malicious actions. The vulnerability affects all versions up to, and including, 5.0.6 and was partially patched in version 5.0.4.
Defensive priority
Medium
Recommended defensive actions
- Update to version 5.0.7 or later
- Restrict access to the plugin's functionality
- Monitor for suspicious activity
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The CVE record was published on 2026-07-22T12:16:54.763Z and was last modified on 2026-07-22T16:30:26.533Z. The NVD entry is currently Deferred. 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. The vulnerability was partially patched in version 5.0.4. Evidence limits suggest that defenders verify the vulnerability in their environment and review the official advisory for affected scope and severity.
Sources and references
Verified primary and authoritative sources
-
CVE-2025-13146 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2025-13146
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2025-13146 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2025-13146
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://plugins.trac.wordpress.org/browser/contact-form-7-dynamic-text-extension/trunk/contact-form-7-dynamic-text-extension.php
-
Source reference
Unverified legacy reference
URL: https://plugins.trac.wordpress.org/browser/contact-form-7-dynamic-text-extension/trunk/contact-form-7-dynamic-text-extension.php
-
Source reference
Unverified legacy reference
URL: https://plugins.trac.wordpress.org/browser/contact-form-7-dynamic-text-extension/trunk/includes/utilities.php
-
Source reference
Unverified legacy reference
URL: https://plugins.trac.wordpress.org/changeset/3430784/
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.