CVE-2026-9635

WP Shortcode by MyThemeShop <= 1.4.17 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'title' Shortcode Attribute

Published Jul 23, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
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
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Jul 23, 2026, 2:01 PM
Reserved
May 26, 2026, 5:55 PM
Status
Deferred
Published
Jul 23, 2026, 8:16 AM
Modified
Jul 23, 2026, 3:14 PM