CVE-2025-13146: CWE-94 Improper Control of Generation of Code ('Code Injection') in sevenspark Contact Form 7 – Dynamic Text Extension
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.
AI Analysis
Technical Summary
CVE-2025-13146 is a CWE-94 code injection vulnerability in the Contact Form 7 – Dynamic Text Extension WordPress plugin by sevenspark. The plugin improperly controls the generation of code by allowing unauthenticated users to execute arbitrary shortcodes due to insufficient validation before invoking do_shortcode. This affects all versions up to and including 5.0.6. A partial patch was introduced in version 5.0.4, but the vulnerability remains exploitable in later versions up to 5.0.6. No official remediation level or patch is confirmed beyond this partial fix.
Potential Impact
An unauthenticated attacker can execute arbitrary shortcodes within the vulnerable plugin, potentially leading to limited confidentiality and integrity impacts as indicated by the CVSS vector (C:L/I:L/A:N). This can allow unauthorized actions within the WordPress environment that the shortcode can perform. There is no indication of availability impact or known exploits in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. A partial patch was applied in version 5.0.4, but versions up to 5.0.6 remain vulnerable. Users should monitor for an official fix from the vendor and apply updates once available. Until then, consider restricting access or disabling the plugin if feasible.
CVE-2025-13146: CWE-94 Improper Control of Generation of Code ('Code Injection') in sevenspark Contact Form 7 – Dynamic Text Extension
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.
CVSS v3.1
Score 6.5medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-13146 is a CWE-94 code injection vulnerability in the Contact Form 7 – Dynamic Text Extension WordPress plugin by sevenspark. The plugin improperly controls the generation of code by allowing unauthenticated users to execute arbitrary shortcodes due to insufficient validation before invoking do_shortcode. This affects all versions up to and including 5.0.6. A partial patch was introduced in version 5.0.4, but the vulnerability remains exploitable in later versions up to 5.0.6. No official remediation level or patch is confirmed beyond this partial fix.
Potential Impact
An unauthenticated attacker can execute arbitrary shortcodes within the vulnerable plugin, potentially leading to limited confidentiality and integrity impacts as indicated by the CVSS vector (C:L/I:L/A:N). This can allow unauthorized actions within the WordPress environment that the shortcode can perform. There is no indication of availability impact or known exploits in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. A partial patch was applied in version 5.0.4, but versions up to 5.0.6 remain vulnerable. Users should monitor for an official fix from the vendor and apply updates once available. Until then, consider restricting access or disabling the plugin if feasible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-11-13T20:03:00.603Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a60b6229c2644c7f8fb4dab
Added to database: 07/22/2026, 12:22:58 UTC
Last enriched: 07/22/2026, 12:37:42 UTC
Last updated: 07/23/2026, 00:19:33 UTC
Views: 13
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.