CVE-2023-5614
MEDIUM
5.4
CVSS 3.1
Description
The Theme Switcha plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'theme_switcha_list' shortcode in all versions up to, and including, 3.3 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers with contributor-level and above permissions to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Affected WordPress components
-
Theme Switcha – Easily Switch Themes for Development and Testing Plugin · theme-switchaUp to and including 3.3View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- specialk Theme Switcha – Easily Switch Themes for Development and Testing — Up to and including 3.3
- plugin-planet theme_switcha — Up to and including 3.3
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/theme-switcha/tags/3.3/inc/plugin-core.php#L445 Patch
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/2979783/theme-switcha#file1 Patch
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/2b0937fe-3ea6-427a-aef7-539c08687abb?source=cve Third Party Advisory
- nvd.nist.gov Official NVD record