Skip to main content
Vulnerability Database/CVE-2026-114702

CVE-2026-114702: ND Shortcodes Visual Composer XSS Flaw

CVE-2026-114702 is a stored cross-site scripting vulnerability in the ND Shortcodes For Visual Composer WordPress plugin that enables attackers to inject malicious scripts. This article covers technical details, affected versions through 7.8, security impact, and recommended mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-114702 Overview

CVE-2026-114702 is a stored cross-site scripting (XSS) vulnerability in the nicdark ND Shortcodes For Visual Composer WordPress plugin (nd-shortcodes). The flaw affects all plugin versions up to and including 7.8. Authenticated attackers with low-privilege access can inject malicious scripts that persist on the server and execute in victims' browsers when the affected page is rendered. The issue is tracked under CWE-79: Improper Neutralization of Input During Web Page Generation.

Critical Impact

Stored XSS enables attackers to hijack administrator sessions, pivot to full WordPress site takeover, and deliver malicious payloads to site visitors.

Affected Products

  • nicdark ND Shortcodes For Visual Composer (nd-shortcodes) plugin for WordPress
  • All versions from initial release through 7.8
  • WordPress sites using Visual Composer with this plugin installed

Discovery Timeline

  • 2026-10-22 - CVE-2026-114702 published to the National Vulnerability Database (NVD)
  • 2026-10-22 - Last updated in NVD database

Technical Details for CVE-2026-114702

Vulnerability Analysis

The vulnerability allows authenticated users to inject arbitrary JavaScript into content rendered by the nd-shortcodes plugin. Because the payload is stored server-side, it executes every time an affected page or post is loaded by any visitor. The scope is marked as changed, meaning the injected script can affect resources beyond the vulnerable component itself. Successful exploitation can lead to session theft, forced administrative actions through the WordPress admin interface, defacement, and malware distribution to site visitors.

Root Cause

The plugin fails to properly neutralize user-supplied input before embedding it in web page output. Attacker-controlled values passed through shortcode attributes or related inputs are reflected into the rendered HTML without sufficient output encoding or sanitization. This classic CWE-79 pattern permits raw <script> tags, event handlers, or encoded JavaScript payloads to persist in the database and execute in the browser context of other users.

Attack Vector

An attacker needs an authenticated account with permissions to create or edit content that uses the plugin's shortcodes (typically Contributor or Editor level). The attacker submits a shortcode or content field containing an XSS payload. When an administrator or site visitor loads the affected page, the payload executes within their browser session. User interaction is required for exploitation. See the Patchstack advisory for additional technical context.

No verified public proof-of-concept code is available for this CVE. The vulnerability mechanism follows the standard stored XSS pattern described above.

Detection Methods for CVE-2026-114702

Indicators of Compromise

  • Unexpected <script> tags, javascript: URIs, or inline event handlers (onerror, onload, onmouseover) within posts, pages, or widget content rendered by nd-shortcodes.
  • New or modified WordPress administrator accounts created shortly after suspicious content edits.
  • Outbound browser requests from site visitors to attacker-controlled domains referenced in page source.
  • Unusual entries in wp_posts or wp_postmeta containing encoded JavaScript payloads.

Detection Strategies

  • Scan rendered HTML output for script constructs within shortcode-generated regions.
  • Review audit logs for content edits performed by low-privilege users touching pages that embed nd-shortcodes shortcodes.
  • Deploy a web application firewall (WAF) rule set that flags XSS payload patterns in POST bodies targeting wp-admin/post.php and admin-ajax.php.

Monitoring Recommendations

  • Monitor WordPress user_meta and options tables for unauthorized role or capability changes following content submissions.
  • Alert on administrator session activity originating from new IP addresses or user agents.
  • Track browser Content Security Policy (CSP) violation reports to surface injected inline scripts.

How to Mitigate CVE-2026-114702

Immediate Actions Required

  • Inventory WordPress installations and identify sites running nd-shortcodes version 7.8 or earlier.
  • Deactivate the ND Shortcodes For Visual Composer plugin until a patched version is installed.
  • Audit recent content changes made by Contributor and Editor accounts for embedded script payloads.
  • Rotate credentials for any administrator account that may have viewed compromised pages.

Patch Information

At the time of publication, the Patchstack advisory lists the plugin as vulnerable through version 7.8. Monitor the vendor and Patchstack for the fixed release, and update immediately when available.

Workarounds

  • Restrict content creation privileges to trusted users and remove the Contributor role where feasible.
  • Deploy a WordPress-aware WAF with virtual patching rules that block XSS payloads in shortcode inputs.
  • Enforce a strict Content Security Policy that disallows inline scripts and restricts script sources to trusted origins.
  • Remove the plugin and migrate to an actively maintained Visual Composer add-on if no patch is released.
bash
# Configuration example: disable the vulnerable plugin via WP-CLI
wp plugin deactivate nd-shortcodes --all-sites
wp plugin delete nd-shortcodes

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.