Description
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.
Published: 2026-07-23
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The WP Shortcode by MyThemeShop plugin contains a flaw in the mts_tabs() function where the ‘title’ attribute of the [tab] shortcode is output directly inside anchor tags without any escaping. This allows an authenticated attacker with contributor‑level or higher credentials to store malicious JavaScript in the title. When a visitor loads a page that contains the injected tab, the script runs in the victim’s browser, potentially leading to credential theft, session hijacking, defacement, or further compromise of the site.

Affected Systems

WordPress sites that have installed the WP Shortcode by MyThemeShop plugin in version 1.4.17 or earlier are affected. Any site regardless of theme or other plugins that uses the vulnerable plugin version and allows contributors or higher roles to edit content may be exploited. Upgrading to any patch released after 1.4.17 removes this vulnerability.

Risk and Exploitability

The CVSS score of 6.4 indicates a moderate impact. The EPSS score of less than 1 % shows a very low likelihood of exploitation in the wild, and the issue is not listed in CISA’s KEV catalog. Exploitation requires authenticated access with contributor‑level or higher roles; the attacker injects the payload via the post editor or any interface that accepts shortcode parameters. Because the XSS is stored, it persists until the shortcode title is removed or the plugin is upgraded. The weakness is a classic CWE‑79 input validation/escaping flaw.

Generated by OpenCVE AI on August 3, 2026 at 22:55 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the WP Shortcode by MyThemeShop plugin to any version newer than 1.4.17.
  • If an upgrade is not immediately possible, disable the [tab] shortcode via a function that removes it from the shortcode list or delete the plugin entirely.
  • Remove or sanitize any existing tab titles that contain injected scripts, or use a custom sanitization filter to escape the title attribute before output.
  • Restrict contributor or lower roles from editing shortcode titles by adjusting role capabilities or applying additional input validation on the title field.

Generated by OpenCVE AI on August 3, 2026 at 22:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 23 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Mythemeshop
Mythemeshop wp Shortcode By Mythemeshop
Wordpress
Wordpress wordpress
Vendors & Products Mythemeshop
Mythemeshop wp Shortcode By Mythemeshop
Wordpress
Wordpress wordpress

Thu, 23 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 23 Jul 2026 07:45:00 +0000

Type Values Removed Values Added
Description 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.
Title WP Shortcode by MyThemeShop <= 1.4.17 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'title' Shortcode Attribute
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Mythemeshop Wp Shortcode By Mythemeshop
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-07-23T14:01:09.824Z

Reserved: 2026-05-26T17:55:37.764Z

Link: CVE-2026-9635

cve-icon Vulnrichment

Updated: 2026-07-23T14:01:03.730Z

cve-icon NVD

Status : Deferred

Published: 2026-07-23T08:16:25.253

Modified: 2026-07-23T15:14:51.013

Link: CVE-2026-9635

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T23:00:04Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')