Restrict Usernames Emails Characters Security & Risk Analysis

wordpress.org/plugins/restrict-usernames-emails-characters

Restrict the usernames, email addresses, characters and symbols or email from specific domain names or language in registration ...

1K active installs v4.1.2 PHP 5.3.19+ WP 3.0+ Updated Dec 1, 2025
anti-spamauthor-slugregistrationrestrict-usersecurity
100
A · Safe
CVEs total1
Unpatched0
Last CVEJan 31, 2024
Safety Verdict

Is Restrict Usernames Emails Characters Safe to Use in 2026?

Generally Safe

Score 100/100

Restrict Usernames Emails Characters has a strong security track record. Known vulnerabilities have been patched promptly. It's a solid choice for most WordPress installations.

1 known CVELast CVE: Jan 31, 2024Updated 5mo ago
Risk Assessment

The "restrict-usernames-emails-characters" plugin, version 4.1.2, exhibits a generally positive security posture, with a small attack surface and a strong emphasis on prepared statements for SQL queries. The absence of critical or high-severity taint flows and a lack of currently unpatched vulnerabilities are encouraging signs.

However, there are areas for concern. The code analysis reveals that only 48% of outputs are properly escaped, indicating a potential for cross-site scripting (XSS) vulnerabilities. Furthermore, the presence of two flows with unsanitized paths, even if not classified as critical or high, warrants attention as they could lead to unexpected behavior or security issues. The plugin also has a history of medium-severity vulnerabilities, specifically XSS, with the most recent occurring in early 2024. This suggests that while the plugin developers address vulnerabilities, there's a recurring pattern that requires ongoing vigilance.

Overall, the plugin demonstrates good practices in several areas, particularly in database interaction. Nevertheless, the significant percentage of unescaped output and the historical XSS issues present a notable risk that needs to be addressed to achieve a more robust security profile.

Key Concerns

  • Significant percentage of unescaped output
  • Flows with unsanitized paths detected
  • History of medium severity XSS vulnerabilities
Vulnerabilities
1 published

Restrict Usernames Emails Characters Security Vulnerabilities

CVEs by Year

1 CVE in 2024
2024
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

CVE-2023-6165medium · 4.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Restrict Usernames Emails Characters <= 3.1.3 - Authenticated(Administrator+) Stored Cross-Site Scripting

Jan 31, 2024 Patched in 3.1.4 (3d)
Version History

Restrict Usernames Emails Characters Release Timeline

v4.1.2Current
v4.1.1
v4.1
v4.0.2
v4.0.1
v4.0
v3.1.4
v3.1.21 CVE
v3.11 CVE
v3.01 CVE
v2.9.61 CVE
v2.9.51 CVE
v2.9.41 CVE
v2.9.31 CVE
v2.9.21 CVE
v2.9.11 CVE
v2.91 CVE
v2.8.21 CVE
v2.8.11 CVE
v2.81 CVE
Code Analysis
Analyzed Mar 16, 2026

Restrict Usernames Emails Characters Code Analysis

Dangerous Functions
0
Raw SQL Queries
7
69 prepared
Unescaped Output
46
43 escaped
Nonce Checks
6
Capability Checks
9
File Operations
5
External Requests
0
Bundled Libraries
0

SQL Query Safety

91% prepared76 total queries

Output Escaping

48% escaped89 total outputs
Data Flows · Security
2 unsanitized

Data Flow Analysis

6 flows2 with unsanitized paths
settings__init (page-setts.php:27)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Restrict Usernames Emails Characters Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[ruec_sc] restrict-usernames-emails-characters.php:111
WordPress Hooks 43
actionadmin_initrestrict-usernames-emails-characters.php:94
actionadmin_enqueue_scriptsrestrict-usernames-emails-characters.php:95
actioninitrestrict-usernames-emails-characters.php:96
actionadmin_noticesrestrict-usernames-emails-characters.php:101
actionnetwork_admin_noticesrestrict-usernames-emails-characters.php:102
filterplugin_row_metarestrict-usernames-emails-characters.php:103
actionadmin_initrestrict-usernames-emails-characters.php:107
actionwp_enqueue_scriptsrestrict-usernames-emails-characters.php:110
actioninitrestrict-usernames-emails-characters.php:114
actionwp_loadedrestrict-usernames-emails-characters.php:115
actionadmin_headrestrict-usernames-emails-characters.php:116
actionnetwork_admin_edit_ben742198_settingsrestrict-usernames-emails-characters.php:127
actionnetwork_admin_edit_ben742198_tw_settingsrestrict-usernames-emails-characters.php:128
filterrequestrestrict-usernames-emails-characters.php:443
filterauthor_linkrestrict-usernames-emails-characters.php:444
filterbp_members_get_user_slugrestrict-usernames-emails-characters.php:447
filterbp_core_get_user_domainrestrict-usernames-emails-characters.php:451
filterbp_core_get_userid_from_nicenamerestrict-usernames-emails-characters.php:452
actionupdated_user_metarestrict-usernames-emails-characters.php:457
actionwp_update_userrestrict-usernames-emails-characters.php:458
actiondeleted_userrestrict-usernames-emails-characters.php:459
filterpre_user_nicenamerestrict-usernames-emails-characters.php:462
filterbp_get_displayed_user_mentionnamerestrict-usernames-emails-characters.php:466
filterbp_activity_get_generated_content_partrestrict-usernames-emails-characters.php:467
actionwpmu_new_userrestrict-usernames-emails-characters.php:473
actionadded_existing_userrestrict-usernames-emails-characters.php:474
actionbp_core_signup_userrestrict-usernames-emails-characters.php:476
actionbp_core_activated_userrestrict-usernames-emails-characters.php:477
actionuser_profile_update_errorsrestrict-usernames-emails-characters.php:483
actionuser_registerrestrict-usernames-emails-characters.php:490
actionwp_headrestrict-usernames-emails-characters.php:493
actionregister_formrestrict-usernames-emails-characters.php:494
filterbp_nouveau_feedback_messagesrestrict-usernames-emails-characters.php:495
filtervalidate_usernamerestrict-usernames-emails-characters.php:497
filtergettextrestrict-usernames-emails-characters.php:499
filtersanitize_userrestrict-usernames-emails-characters.php:501
filterwpmu_validate_user_signuprestrict-usernames-emails-characters.php:504
filterbp_core_validate_user_signuprestrict-usernames-emails-characters.php:507
actionbp_signup_validaterestrict-usernames-emails-characters.php:510
actionregister_postrestrict-usernames-emails-characters.php:1186
filtervalidate_usernamerestrict-usernames-emails-characters.php:1193
filteruser_registration_emailrestrict-usernames-emails-characters.php:1194
actionwp_loadedrestrict-usernames-emails-characters.php:1881
Maintenance & Trust

Restrict Usernames Emails Characters Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedDec 1, 2025
PHP min version5.3.19
Downloads39K

Community Trust

Rating90/100
Number of ratings25
Active installs1K
Developer Profile

Restrict Usernames Emails Characters Developer Profile

Benaceur

3 plugins · 2K total installs

94
trust score
Avg Security Score
100/100
Avg Patch Time
13 days
View full developer profile
Detection Fingerprints

How We Detect Restrict Usernames Emails Characters

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

HTML / DOM Fingerprints

FAQ

Frequently Asked Questions about Restrict Usernames Emails Characters