Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionCVE.org
Cross-Site Request Forgery (CSRF) vulnerability in vgstef WP User Stylesheet Switcher allows Stored XSS. This issue affects WP User Stylesheet Switcher: from n/a through v2.2.0.
AnalysisAI
CVE-2025-52792 is a Cross-Site Request Forgery (CSRF) vulnerability in the vgstef WP User Stylesheet Switcher WordPress plugin (versions up to v2.2.0) that enables Stored XSS attacks. An unauthenticated attacker can exploit this via a simple network request with user interaction to inject malicious scripts that execute in victims' browsers, potentially compromising user sessions and data. The vulnerability has not been confirmed as actively exploited in the wild, though the high CVSS score (7.1) and network-accessible attack vector indicate practical exploitability.
Technical ContextAI
WP User Stylesheet Switcher is a WordPress plugin that allows users to switch between different stylesheets. The vulnerability stems from inadequate CSRF token validation (CWE-352: Cross-Site Request Forgery) combined with insufficient input sanitization that permits Stored XSS injection. The plugin fails to properly implement WordPress's nonce verification mechanisms, allowing attackers to craft malicious requests that modify plugin settings or user data without explicit authorization. The stored nature of the XSS means the payload persists in the database and executes whenever affected pages are rendered, affecting all users who interact with compromised content. The CPE identifier would be: cpe:2.7:a:vgstef:wp_user_stylesheet_switcher:*:*:*:*:*:wordpress:*:* (versions through 2.2.0).
RemediationAI
Navigate to WordPress admin > Plugins > Installed Plugins, locate WP User Stylesheet Switcher, and click Update if available Mitigation (if patch unavailable): WordPress admin > Plugins > Installed Plugins > Deactivate WP User Stylesheet Switcher Defense in Depth: Use security plugins (e.g., Wordfence, Sucuri) to monitor for exploitation attempts and enforce nonce validation site-wide Monitoring: Review WordPress user activity logs and plugin settings for anomalies post-disclosure
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u
Same weakness CWE-352 – Cross-Site Request Forgery (CSRF)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2025-28467