Contact Form 7 – Dynamic Text Extension <= 5.0.5 - Authenticated (Editor+) Stored Cross-Site Scripting
Strategic Overview
- Status
- Patched in 5.0.6
- Affected Plugin
- DTX – Dynamic Text Extension for Contact Form 7
- Affected Version
<= 5.0.5- CVSS
- 4.4Medium
- Weakness type
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CVE
CVE-2026-5116
At a glance
CVE-2026-5116 is a medium-severity Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in the DTX WordPress plugin, affecting versions <= 5.0.5. It carries a CVSS score of 4.4 (reachable over the network). Exploitation requires an authenticated account at Editor level or above. The issue is fixed in version 5.0.6; sites on affected versions should update now. Disclosed August 2026, reported by SATYARTH PRAKASH (XoxoL33t).
Vulnerability Overview
The Contact Form 7 – Dynamic Text Extension plugin for WordPress is vulnerable to Stored Cross-Site Scripting in all versions up to, and including, 5.0.5. This is due to insufficient output escaping on form shortcode keys displayed in the admin "Scan Forms for Post Meta and User Data Keys" page. This makes it possible for authenticated attackers, with Editor-level access and above, to inject arbitrary web scripts that execute when an Administrator runs the scan feature.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, and no interaction from a victim user.
CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Reaching this weakness in DTX <= 5.0.5 takes an account at Editor level or above. Cross-site scripting happens when input from a request is written into a page without being escaped for the context it lands in, so the browser parses attacker-supplied text as markup or script.
Injected script runs with the privileges of whoever views the affected page, which is how these flaws turn into administrator session theft, silent account creation or persistent backdoors in page content. For DTX the fix is 5.0.6: builds <= 5.0.5 are affected, anything from 5.0.6 onward is not.
Remediation
Update to version 5.0.6, or a newer patched version
How WordSec helps
An attacker needs Editor access first, so the firewall sees the attempt as traffic from a logged-in account: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: DTX 5.0.6 closes this, and updating the plugin is the step that ends it.
- Firewall
- Alerts
External References
Related records
Same weakness class
Other vulnerabilities in DTX – Dynamic Text Extension for Contact Form 7
- 6.5CVE-2025-13146: Contact Form 7 Arbitrary Shortcode Execution
CVE-2025-13146 - 6.5CVE-2025-63068: Contact Form 7 Arbitrary Shortcode Execution
CVE-2025-63068 - 4.3CVE-2024-56218: Contact Form 7 Dynamic Text Extension <= 5.0.1 CSRF
CVE-2024-56218 - 4.3CVE-2024-10084: Contact Form 7 Information Disclosure
CVE-2024-10084 - 4.3CVE-2023-6630: Contact Form 7 – Dynamic Text Extension <= 4.1.0 IDOR
CVE-2023-6630
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C