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.
Metrics
CVSS 3.1 5.4/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| specialk | Theme Switcha – Easily Switch Themes for Development and Testing | <= 3.3 |
References
- https://plugins.trac.wordpress.org/browser/theme-switcha/tags/3.3/inc/plugin-core.php#L445Patch
- https://plugins.trac.wordpress.org/changeset/2979783/theme-switcha#file1Patch
- https://www.wordfence.com/threat-intel/vulnerabilities/id/2b0937fe-3ea6-427a-aef7-539c08687abb?source=cveThird Party Advisory
- https://plugins.trac.wordpress.org/browser/theme-switcha/tags/3.3/inc/plugin-core.php#L445Patch
- https://plugins.trac.wordpress.org/changeset/2979783/theme-switcha#file1Patch
- https://www.wordfence.com/threat-intel/vulnerabilities/id/2b0937fe-3ea6-427a-aef7-539c08687abb?source=cveThird Party Advisory
Timeline
- Published
- Oct 20, 2023
- Last modified
- Jun 17, 2026
- NVD status
- Modified