Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | The CVSS 3.1 score of 7.1 reflects a high-severity vulnerability with several aggravating factors: Network-based attack vector (AV:N) means remote exploitation without physical access; Low attack complexity (AC:L) indicates no special conditions required; No privileges required (PR:N) permits unauthenticated exploitation; User interaction required (UI:R) necessitates victim clicking a link or visiting a malicious page; Changed scope (S:C) indicates impact beyond the vulnerable component. However, real-world risk is moderated by: the requirement for user interaction (UI:R lowers exploitability), WordPress plugin installation and activation prerequisite, and the typical lower-traffic nature of admin-facing functionality in many installations. Without confirmed KEV status, active exploitation reports, or published POC code, this represents a standard high-priority vulnerability rather than an emergency. The combination of CSRF + Stored XSS significantly elevates concern beyond either flaw individually, as attackers can persistently compromise sites and user accounts. |
| Exploit ScenarioDerived | An attacker discovers a website running WP User Stylesheet Switcher v2.2.0 and crafts a malicious webpage or email containing a hidden form that submits a CSRF request to change the site's stylesheet to a malicious version (or injects JavaScript via the stylesheet field). The attacker sends this to WordPress administrators or users. When a victim (logged into WordPress) visits the attacker's page or clicks the link, the browser automatically submits the request due to the lack of nonce validation, causing the plugin to execute the attacker's input. The stored XSS payload (injected into the stylesheet field or plugin settings) then executes whenever any site visitor loads the page, potentially harvesting credentials, redirecting to phishing sites, or injecting cryptominers. The attacker gains persistent access without ever needing direct authentication, and the compromise affects all users viewing the affected content. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 15, 2026
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.
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
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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).
Know when Wordpress Plugin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
DescriptionCVE.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.
Executive ViewAI
A high-severity vulnerability in the WP User Stylesheet Switcher plugin (versions up to 2.2.0) allows attackers to inject malicious code through CSRF and stored XSS attacks, potentially compromising user accounts and website integrity. This affects any WordPress installation using this plugin and poses a direct risk to user data and website reputation.
Disable the WP User Stylesheet Switcher plugin immediately until patch is available. Implement Web Application Firewall (WAF) rules to block requests to the vulnerable plugin endpoints. Restrict plugin functionality to authenticated administrators only through htaccess or nginx rules. Apply WordPress security hardening to limit CSRF token exploitation. Monitor user activity and website logs for suspicious stylesheet modification or XSS payloads. Consider network segmentation to isolate affected WordPress instances.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
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 AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
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
EUVD-2025-28467
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB