LiveActive security incident?Get immediate response
CVE Record

CVE-2025-13146: Contact Form 7 – Dynamic Text Extension <= 5.0.6 - Unauthenticated Arbitrary Shortcode Execution

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.

MediumCVSS 6.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

WordPress sites using Contact Form 7 – Dynamic Text Extension up to version 5.0.6 may let unauthenticated visitors trigger unintended shortcode execution. Business impact depends on which shortcodes are installed, but the CVSS vector supports low confidentiality and integrity impact without availability impact.

Executive priority

Treat as a moderate WordPress plugin issue requiring prompt inventory and remediation. It is not currently evidenced as exploited, but unauthenticated reachability and dependency on installed shortcodes make exposure review important.

Technical view

The issue is improper validation before calling do_shortcode, allowing unauthenticated arbitrary shortcode execution. The vulnerability affects all plugin versions up to and including 5.0.6. The source bundle says version 5.0.4 only partially patched the issue.

Likely exposure

Exposure is limited to WordPress sites running Contact Form 7 – Dynamic Text Extension versions up to 5.0.6. Risk increases where installed shortcodes expose sensitive data, modify content, or perform privileged plugin behavior.

Exploitation context

No active exploitation is stated in the provided sources, and the CVE is not marked KEV. The attack is network-accessible, unauthenticated, low-complexity, and requires no user interaction, but impact depends on available shortcodes.

Researcher notes

Focus analysis on the action path that accepts user-controlled input and passes it to do_shortcode. Assess impact by enumerating registered shortcodes in the affected site context, not by assuming code execution. The partial 5.0.4 fix means version checks must include 5.0.5 and 5.0.6.

Mitigation direction

  • Inventory WordPress sites for the affected plugin and version.
  • Update beyond version 5.0.6 when vendor guidance confirms a complete fix.
  • Disable or remove the plugin if no complete fixed release is available.
  • Limit exposed form functionality where dynamic shortcode behavior is unnecessary.
  • Monitor vendor, Wordfence, and WordPress plugin guidance for final remediation details.

Validation and detection

  • Confirm whether the plugin is installed on each WordPress site.
  • Record the installed plugin version and flag versions up to 5.0.6.
  • Review shortcode-capable forms for exposure to unauthenticated visitors.
  • Check web logs for unusual shortcode-like input or unexpected plugin action activity.
  • Verify remediation by confirming the vulnerable version is no longer present.
Prepared
Confidence
high
Sources
7

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-94: Code execution behavior lookup

Code execution and unsafe deserialization weaknesses often justify reviewing execution behavior and process telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2025-13146 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
5Timeline events
1ADP providers
5Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: yesTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.5CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N3.92.5Wordfence

Vulnerability scoring details

Base CVSS 3.1 score

6.5Medium
CVSS 3.1 vector shape for CVE-2025-13146Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. Source timelineWordfence

    Vendor Notified

  3. Source timelineWordfence

    Disclosed

  4. CVE publishedCVE Program

    The CVE record was published.

  5. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
sevensparkContact Form 7 – Dynamic Text Extension0unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-94 · source CWE mapping

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

Improper Control of Generation of Code ('Code Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.