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

6.5
Improper Control of Generation of Code ('Code Injection')
CVE CVE-2025-63068
CVSS 6.5 (Medium)
Publicly Published September 26, 2025
Last Updated May 1, 2026
Researcher Najib Sinjari

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.5. 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.

References

Share

Vulnerability Details for DTX – Dynamic Text Extension for Contact Form 7

Software Type Plugin
Software Slug contact-form-7-dynamic-text-extension (view on wordpress.org)
Patched? No
Remediation No known patch available. Please review the vulnerability's details in depth and employ mitigations based on your organization's risk tolerance. It may be best to uninstall the affected software and find a replacement.
Affected Version
  • <= 5.0.5

Recent vulnerabilities in DTX – Dynamic Text Extension for Contact Form 7

# Title CVE ID CVSS Researchers Date
1 Contact Form 7 – Dynamic Text Extension <= 5.0.5 - Authenticated (Editor+) Stored Cross-Site Scripting CVE-2026-5116 4.4 SATYARTH PRAKASH (XoxoL33t) August 4, 2026
2 Contact Form 7 – Dynamic Text Extension <= 5.0.6 - Unauthenticated Arbitrary Shortcode Execution CVE-2025-13146 6.5 NosleeP++ July 21, 2026
3 Contact Form 7 Dynamic Text Extension <= 5.0.1 - Cross-Site Request Forgery CVE-2024-56218 4.3 December 19, 2024
4 Contact Form 7 – Dynamic Text Extension <= 4.5 - Information Disclosure via Shortcode CVE-2024-10084 4.3 Francesco Carlucci November 5, 2024
5 Contact Form 7 – Dynamic Text Extension <= 4.1.0 - Insecure Direct Object Reference CVE-2023-6630 4.3 Francesco Carlucci January 10, 2024
6 Contact Form 7 Dynamic Text Extension <= 2.0.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode 6.4 January 19, 2023
7 Contact Form 7 Dynamic Text Extension < 2.0.3 - Reflected Cross-Site Scripting 6.1 July 24, 2019

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation