Skip to main content

WP Shortcode EUVDEUVD-2026-47935

| CVE-2026-9635 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-23 Wordfence GHSA-q9pq-xp5c-jmhr
6.4
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

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

  1. Access
    Obtain contributor-level WordPress account
  2. Delivery
    Author or edit a post using [tab title=<payload>] shortcode
  3. Exploit
    Publish post to persist payload in database
  4. Execution
    Victim (ideally admin) visits injected page
  5. Persist
    Browser renders unescaped title attribute, executing injected script
  6. Impact
    Attacker exfiltrates session token or performs privileged 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 attacker to hold an active WordPress account at contributor level or above - the minimum role that can author and publish post content using shortcodes. The WP Shortcode by MyThemeShop plugin must be installed and active at version 1.4.17 or earlier. The malicious [tab] shortcode with the crafted title attribute must be placed into a published page or post, and a victim must subsequently visit that specific page to trigger script execution. Exploitation is concretely limited by: (1) the authentication barrier - unauthenticated visitors cannot insert the payload; (2) the victim must browse to the specific injected page rather than any page on the site; and (3) the severity of downstream impact depends on the victim's privilege level, with administrator-level victims presenting the highest risk of full site takeover.

Impact

The official CVSS 3.1 score of 6.4 (Medium) with vector AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N is well-calibrated: the attack is network-reachable and low-complexity, but gated behind contributor-level WordPress authentication (PR:L), which is not a trivial bar in many environments. The Scope Changed (S:C) metric correctly reflects that the XSS impact crosses the server boundary into each visitor's browser session. EPSS data was not provided, preventing probabilistic exploitation assessment. The vulnerability is absent from CISA KEV and no public POC has been identified, suggesting no confirmed mass exploitation at time of analysis. Real-world risk is substantially elevated on multi-author WordPress sites where contributor accounts are broadly provisioned - on single-author installations the attack surface is almost entirely eliminated. The greatest downstream harm occurs when an administrator visits an injected page, as their elevated session could be hijacked to achieve full site compromise.

Exploit ScenarioDerived

A contributor-level WordPress account holder creates a post containing a [tab] shortcode with a malicious title parameter - for example, injecting a script tag that exfiltrates the visitor's session cookie to an attacker-controlled endpoint. Once the page is published, any higher-privileged user (such as an administrator) who views it will silently execute the script, potentially allowing the attacker to hijack their session and achieve full site compromise. No public exploit code has been identified at time of analysis, though the technique requires no specialized tooling beyond basic HTML and JavaScript knowledge.

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 – Jul 23, 2026

Stored Cross-Site Scripting in the WP Shortcode by MyThemeShop WordPress plugin (versions up to and including 1.4.17) allows authenticated contributors to permanently embed malicious JavaScript into WordPress pages via the unsanitized 'title' parameter of the [tab] shortcode. The mts_tabs() function in wp-shortcode.php renders this attribute verbatim between HTML anchor tags, causing any visitor who loads an injected page to execute attacker-controlled script in their browser. No active exploitation is confirmed (not listed in CISA KEV) and no public exploit code has been identified at time of analysis; however, the contributor-level access requirement meaningfully lowers the bar on multi-author WordPress deployments.

RemediationAI

No specific patched version number is confirmed in the available data; site operators should consult the WordPress plugin repository and the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/6f3bcf70-2900-4a13-9ed4-264a15af9725 for any release beyond 1.4.17 that addresses this issue. If no updated version is yet available, the most effective compensating control is to deactivate the WP Shortcode by MyThemeShop plugin entirely, which eliminates the attack surface at the cost of losing all shortcode functionality provided by the plugin. If deactivation is operationally infeasible, restrict contributor-level WordPress roles using a role-management plugin to prevent untrusted users from publishing or editing content that can embed the [tab] shortcode. A WAF rule targeting XSS patterns in the [tab] shortcode title parameter can reduce risk, but should not be relied upon as the sole control given the breadth of known XSS bypass techniques.

Affected VersionsENISA

WP Shortcode by MyThemeShop 0 ≤1.4.17

Affected Packages

euvd wp_shortcode_by_mythemeshop 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 is classified under CWE-79 (Improper Neutralization of Input During Web Generation - Cross-Site Scripting), specifically the stored/persistent variant. The root cause is in the mts_tabs() function within wp-shortcode.php, where the WordPress shortcode API passes the 'title' attribute of the [tab] shortcode directly into the rendered HTML output between anchor tags without applying any standard WordPress output-escaping functions such as esc_attr() or esc_html(). This is confirmed by source code references at plugin trunk lines 766 and 774. Because the unescaped payload is stored in the WordPress post database, it persists and executes for every subsequent page visitor without further attacker interaction. The affected surface is identified by CPE cpe:2.3:a:mythemeshop:wp_shortcode_by_mythemeshop:*:*:*:*:*:*:*:*, covering all plugin versions through 1.4.17.

Know when Wp Shortcode By Mythemeshop 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 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 6.4 MEDIUM

Contributor-level auth (PR:L) gates payload injection; stored XSS fires on normal page load without additional victim action (UI:N); scope change (S:C) reflects execution crossing into victim browser context.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/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
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

The WP Shortcode by MyThemeShop plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'title' parameter of the [tab] shortcode in versions up to, and including, 1.4.17. This is due to insufficient input sanitization and output escaping in the mts_tabs() function, which outputs the title shortcode attribute directly into the HTML output between anchor tags without applying any escaping functions. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Threat Intelligence Overview

EPSS Score
0.3%
Top 76% exploitable
Prevalence
Medium
WordPress plugin with moderate but non-universal install base
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

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
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.

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