Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-6831: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wpeverest User Registration & Membership – Custom Registration Form Builder, Custom Login Form, User Profile, Content Restriction & Membership Plugin

0
Medium
VulnerabilityCVE-2025-6831cvecve-2025-6831cwe-79
Published: Tue Jul 22 2025 (07/22/2025, 01:44:28 UTC)
Source: CVE Database V5
Vendor/Project: wpeverest
Product: User Registration & Membership – Custom Registration Form Builder, Custom Login Form, User Profile, Content Restriction & Membership Plugin

Description

The User Registration plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's urcr_restrict shortcode in all versions up to, and including, 4.2.4 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/26/2026, 15:53:18 UTC

Technical Analysis

CVE-2025-6831 is a stored Cross-Site Scripting (XSS) vulnerability identified in the wpeverest User Registration & Membership plugin for WordPress, which is widely used for custom registration forms, login forms, user profiles, content restriction, and membership management. The vulnerability exists due to improper neutralization of input during web page generation, specifically within the plugin's urcr_restrict shortcode. This shortcode fails to adequately sanitize and escape user-supplied attributes, allowing authenticated attackers with contributor-level or higher privileges to inject arbitrary JavaScript code into pages. Because the malicious script is stored, it executes every time a user views the affected page, potentially compromising user sessions, stealing cookies, or performing actions on behalf of users with elevated privileges. The vulnerability has a CVSS 3.1 base score of 6.4, indicating medium severity, with an attack vector of network, low attack complexity, requiring privileges (PR:L), no user interaction, and a scope change (S:C). The impact affects confidentiality and integrity but not availability. No public exploits have been reported yet, but the vulnerability is significant due to the common use of the plugin and the ease with which authenticated users can exploit it. The flaw affects all plugin versions up to 4.2.4. The vulnerability was reserved on June 27, 2025, and published on July 22, 2025. The plugin is developed by wpeverest and is popular among WordPress site administrators for membership and user management functionalities.

Potential Impact

The impact of CVE-2025-6831 is primarily on the confidentiality and integrity of affected WordPress sites. An attacker with contributor-level access can inject malicious scripts that execute in the context of other users visiting the compromised pages. This can lead to session hijacking, theft of sensitive information such as cookies or credentials, unauthorized actions performed on behalf of other users, and potential privilege escalation if administrative users are targeted. While availability is not directly affected, the injected scripts could be used to deface websites or redirect users to malicious sites, damaging organizational reputation. Since WordPress powers a significant portion of the web, including many business, educational, and governmental sites, the vulnerability poses a risk to a broad range of organizations worldwide. The requirement for authenticated access limits exploitation to insiders or users with some level of trust, but contributor roles are commonly assigned in many WordPress environments, increasing the attack surface. The scope change in the CVSS vector indicates that the vulnerability can affect resources beyond the initially vulnerable component, potentially impacting the entire site or user base.

Mitigation Recommendations

To mitigate CVE-2025-6831, organizations should take the following specific actions: 1) Immediately update the wpeverest User Registration & Membership plugin to a patched version once available; if no patch is currently released, consider temporarily disabling or removing the plugin to prevent exploitation. 2) Restrict contributor-level permissions and review user roles to ensure that only trusted users have the ability to submit content or use shortcodes that can be exploited. 3) Disable or restrict usage of the urcr_restrict shortcode in all site content until the vulnerability is resolved. 4) Implement Web Application Firewall (WAF) rules to detect and block suspicious script injections related to this plugin. 5) Conduct thorough audits of existing site content for injected scripts or suspicious shortcode usage. 6) Educate site administrators and content contributors about the risks of XSS and the importance of input validation. 7) Monitor logs and user activity for signs of exploitation attempts or unusual behavior. 8) Employ Content Security Policy (CSP) headers to limit the execution of unauthorized scripts on the site. These measures, combined with prompt patching, will reduce the risk of exploitation and protect site integrity.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-06-27T17:44:43.917Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 687ef0e1a83201eaac16c9d2

Added to database: 7/22/2025, 2:01:05 AM

Last enriched: 2/26/2026, 3:53:18 PM

Last updated: 3/26/2026, 6:01:04 AM

Views: 135

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses