Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain contributor-level WordPress account
-
DeliveryAuthor or edit a post using [tab title=<payload>] shortcode
-
ExploitPublish post to persist payload in database
-
ExecutionVictim (ideally admin) visits injected page
-
PersistBrowser renders unescaped title attribute, executing injected script
-
ImpactAttacker 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
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.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-47935
GHSA-q9pq-xp5c-jmhr
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB