User Role WordPress Plugin CVE-2025-25114
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious URL with XSS payload
-
DeliveryDeliver link via phishing/social engineering
-
ExploitVictim clicks while authenticated
-
ExecutionJavaScript executes in victim browser
-
ImpactSteal session cookies or perform admin actions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the victim to be logged into WordPress and click a specially crafted link while the vulnerable User Role plugin version 1.0 or earlier is active on the site. The specific vulnerable parameter or endpoint within the plugin is not detailed in the CVE description, but typical targets include configuration pages, user management interfaces, or search functionality accessible to authenticated users. Attack succeeds regardless of WordPress configuration or hosting environment, as the flaw exists in plugin code. Impact severity increases if the victim has administrative privileges, as changed scope (S:C) allows XSS to affect resources beyond the plugin itself. Required user interaction (UI:R) is the primary barrier - attackers cannot exploit this remotely without social engineering to induce link clicks. Sites where the User Role plugin is installed but not actively accessed by administrators present lower practical risk. |
| Impact | Real-world risk is moderate despite the 7.1 CVSS score. The CVSS vector reveals critical limiting factors: required user interaction (UI:R) and no required privileges (PR:N) create a social engineering barrier where attackers must craft convincing phishing links. The changed scope (S:C) and low-medium confidentiality/integrity/availability impacts reflect XSS's ability to hijack admin sessions or modify WordPress content if a privileged user clicks the link. However, EPSS probability of 0.09% (26th percentile) suggests attackers are not actively scanning for this flaw, likely because exploitation requires targeting specific WordPress sites and tricking individual users rather than mass automated exploitation. The absence from CISA KEV confirms no widespread or targeted campaigns detected. Primary risk is to WordPress sites with the User Role plugin installed where attackers can leverage XSS for account takeover, defacement, or malware distribution if they can social engineer site administrators or editors into clicking malicious links. Priority should be moderate for affected sites, higher if plugin is actively used with administrative privileges. |
| Exploit ScenarioDerived | An attacker identifies a WordPress site running the vulnerable User Role plugin and crafts a malicious URL containing JavaScript payload in a reflected parameter, such as a search or configuration field. The attacker sends this link to a site administrator via email, social media, or forum comment, perhaps disguised as a legitimate support request or notification. When the logged-in administrator clicks the link, the malicious JavaScript executes in their browser session with their privileges, allowing the attacker to steal session cookies, create a new admin account, install a malicious plugin, or modify site content. No public proof-of-concept code is confirmed from provided data, but reflected XSS exploits are straightforward to develop once vulnerable parameters are identified. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Apr 25, 2026
Reflected cross-site scripting (XSS) in the User Role WordPress plugin versions up to 1.0 allows remote attackers to execute arbitrary JavaScript in victim browsers via crafted URL parameters. The vulnerability requires user interaction (victim must click a malicious link) but needs no authentication, enabling attackers to steal session cookies, perform actions as the victim, or deliver malware. EPSS score of 0.09% (26th percentile) indicates low probability of mass exploitation. No CISA KEV listing confirms this is not yet actively exploited in the wild, though Patchstack has documented the flaw in their WordPress vulnerability database.
Earlier versions of this analysis (1)
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in ehabstar User Role allows Reflected XSS.0. Rated high severity (CVSS 7.1), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.
RemediationAI
Immediately update the User Role plugin to a version newer than 1.0 if the vendor has released a patched version, or remove the plugin entirely if no update is available. Check the WordPress plugin repository or contact plugin author ehabstar for patch availability. As a temporary mitigation, restrict plugin usage to trusted administrators only and educate users not to click untrusted links while logged into WordPress. Implement Content Security Policy (CSP) headers with strict script-src directives to limit XSS impact, though this is defense-in-depth and does not eliminate the vulnerability. Consider replacing the plugin with alternative WordPress role management solutions that have active maintenance and security track records. Refer to Patchstack advisory at https://patchstack.com/database/wordpress/plugin/user-roles/vulnerability/wordpress-easy-wp-tiles-plugin-1-cross-site-scripting-xss-vulnerability-6 for any updated remediation guidance. Monitor WordPress admin activity logs for suspicious actions that could indicate XSS exploitation.
Affected ProductsAI
WordPress User Role plugin by ehabstar, all versions from initial release through version 1.0. Patchstack vulnerability database references identify this as affecting the WordPress plugin ecosystem specifically. Sites running WordPress with this plugin installed are vulnerable regardless of WordPress core version, as the flaw exists in the plugin code itself. No CPE identifiers available in provided data, but Patchstack advisory at https://patchstack.com/database/wordpress/plugin/user-roles/vulnerability/ provides authoritative affected version information.
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
This is a reflected XSS vulnerability (CWE-79) in the User Role WordPress plugin by ehabstar, affecting all versions through 1.0. Reflected XSS occurs when user-supplied input is incorporated into web page output without proper sanitization or encoding, allowing attackers to inject malicious JavaScript that executes in the victim's browser context. WordPress plugins commonly introduce XSS flaws when handling GET or POST parameters, search queries, or form inputs without using WordPress's built-in sanitization functions like esc_html(), esc_attr(), or wp_kses(). The CVSS vector indicates network-based delivery (AV:N), low attack complexity (AC:L), and changed scope (S:C), meaning the vulnerability allows attacks that transcend the plugin's security boundary to affect the broader WordPress installation or user session.
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
Lifecycle Timeline
2DescriptionCVE.org
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in ehabstar User Role allows Reflected XSS. This issue affects User Role: from n/a through 1.0.
Executive ViewAI
The User Role WordPress plugin (versions up to 1.0) contains a reflected cross-site scripting (XSS) vulnerability that allows attackers to execute arbitrary JavaScript in user browsers through malicious links, potentially compromising session credentials and enabling unauthorized actions. Organizations using this plugin face credential theft and account takeover risks if users are tricked into clicking attacker-controlled links, requiring immediate plugin assessment and remediation across all WordPress installations.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) disable the User Role plugin immediately if business-critical functionality allows; (2) if plugin is operationally required, restrict administrative access to trusted internal networks via Web Application Firewall rules; (3) implement Content Security Policy (CSP) headers with script-src restrictions to limit XSS payload execution scope; (4) enforce HTTPOnly and Secure flags on session cookies to reduce credential theft impact; (5) monitor WordPress audit logs for suspicious URL parameters matching XSS patterns and unusual privilege escalations; (6) educate users to avoid clicking external links pointing to your WordPress installation.
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.
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
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB