WordPress security changelog
MEDIUM CVE-2026-5116 Deferred

DTX shortcode keys execute stored XSS during an administrator scan

DTX through 5.0.5 lets an Editor store a malicious Contact Form 7 shortcode key. The Scan Forms for Post Meta and User Data Keys administration page later displays stored shortcode keys without sufficient output escaping, so the payload executes in the WordPress origin when an Administrator runs the scan. This 4.4-scored record received deeper review because the stored-XSS path is specifically likely to reach an administrator. The CNA does not disclose the form field, scan route or rendering function.

CVE / CNA score 4.4 CVSS 3.1 · security@wordfence.com
NVD score Pending NVD has not published its own CVSS assessment.
Component
DTX – Dynamic Text Extension for Contact Form 7
Plugin slug
contact-form-7-dynamic-text-extension
Affected
<= 5.0.5
Safe version
5.0.6
Published
Aug 05, 2026
Weakness
CWE-79 — Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

This CVE was published Aug 05, 2026 and is one of 5 known issues for this plugin.

Update, patch or deactivate.

Update DTX to 5.0.6 or later. The upstream tag comparison identifies 5.0.6 as the fixed release. Review Editor-controlled form shortcodes and remove unexpected keys before an administrator uses the scan feature.

A safe version is available, so updating to that version or later is the preferred remediation. If an immediate update is not practical, consider a targeted application patch or temporarily restricting the affected functionality.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical description

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.

CVE / CNA vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N

Primary and upstream sources