CVE-2025-13146
Deferred Deferred - Pending Action

Arbitrary Shortcode Execution in Contact Form 7 Dynamic Text Extension

Vulnerability report for CVE-2025-13146, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-22

Last updated on: 2026-07-22

Assigner: Wordfence

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-22
Last Modified
2026-07-22
Generated
2026-08-11
AI Q&A
2026-07-22
EPSS Evaluated
2026-08-10
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
contact_form_7_dynamic_text_extension plugin to 5.0.6 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

The Contact Form 7 – Dynamic Text Extension WordPress plugin up to version 5.0.6 allows unauthenticated attackers to execute arbitrary shortcodes due to improper validation of user input before running do_shortcode. This flaw enables remote code execution without requiring authentication.

Detection Guidance

Check if the Contact Form 7 – Dynamic Text Extension plugin is installed and its version. If it is version 5.0.6 or below, it is vulnerable. Use WordPress admin panel or run: wp plugin list --name=contact-form-7-dynamic-text-extension in WP-CLI.

Impact Analysis

Attackers could exploit this to perform unauthorized actions on your WordPress site, such as stealing sensitive data, defacing content, or redirecting visitors to malicious sites. It may also allow attackers to escalate privileges or install backdoors.

Compliance Impact

This vulnerability could lead to unauthorized access to personal data, violating GDPR and HIPAA requirements for data protection and confidentiality. Organizations may face fines or legal penalties if exploited.

Mitigation Strategies

Update the Contact Form 7 – Dynamic Text Extension plugin to the latest version immediately. If an update is not available, consider disabling the plugin until a patch is released.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-13146. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart