HM Multiple Roles Security & Risk Analysis

wordpress.org/plugins/hm-multiple-roles

It hides the default role dropdown list and displays a list of role checkboxes to select multiple roles for a user.

2K active installs v2.1.1 PHP 7.2+ WP 5.4+ Updated Feb 6, 2025
rolerolesuseruser-rolesusers
91
A · Safe
CVEs total1
Unpatched0
Last CVEJul 20, 2021
Safety Verdict

Is HM Multiple Roles Safe to Use in 2026?

Generally Safe

Score 91/100

HM Multiple Roles 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: Jul 20, 2021Updated 1yr ago
Risk Assessment

The "hm-multiple-roles" v2.1.1 plugin presents a generally positive security posture based on the static analysis. The complete absence of attack surface points, dangerous functions, raw SQL queries, file operations, and external HTTP requests are significant strengths. The plugin also demonstrates good security practices by utilizing prepared statements for all SQL queries, implementing nonce checks, and performing capability checks on its entry points. Furthermore, the static analysis did not reveal any critical or high severity taint flows, indicating a lack of common injection vulnerabilities.

However, the plugin's vulnerability history is a notable concern. It has a known CVE related to 'Improper Privilege Management,' and while currently unpatched vulnerabilities are zero, the past high severity issue suggests a historical tendency towards privilege-related security flaws. The presence of the Freemius v1.0 bundled library, which may be outdated, also introduces a potential risk if it contains known vulnerabilities not otherwise exposed by the plugin's own code. Despite the clean static analysis, the historical vulnerability and the bundled library warrant careful consideration.

In conclusion, "hm-multiple-roles" v2.1.1 has a strong static analysis profile, indicating robust coding practices against common web vulnerabilities. The lack of readily exploitable attack vectors is commendable. The primary weakness lies in its historical vulnerability record, specifically a past high-severity privilege management issue. Users should be aware of this history and ensure the plugin is kept up-to-date with any future patches, and consideration should be given to potential risks associated with the bundled Freemius library.

Key Concerns

  • Past high severity vulnerability
  • Bundled outdated library (Freemius v1.0)
  • 80% output escaping is not 100%
Vulnerabilities
1 published

HM Multiple Roles Security Vulnerabilities

CVEs by Year

1 CVE in 2021
2021
Patched Has unpatched

Severity Breakdown

High
1

1 total CVE

CVE-2021-24602high · 8.8Improper Privilege Management

HM Multiple Roles <= 1.2 - Privilege Escalation via Arbitrary Role Change

Jul 20, 2021 Patched in 1.3 (917d)
Version History

HM Multiple Roles Release Timeline

v2.1.1Current
v2.1
v2.0
v1.9
v1.8
v1.7
v1.6
v1.5
v1.4
v1.3
v1.21 CVE
v1.11 CVE
v1.01 CVE
Code Analysis
Analyzed Mar 16, 2026

HM Multiple Roles Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
1
4 escaped
Nonce Checks
1
Capability Checks
2
File Operations
0
External Requests
0
Bundled Libraries
1

Bundled Libraries

Freemius1.0

Output Escaping

80% escaped5 total outputs
Attack Surface

HM Multiple Roles Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 8
actionplugins_loadedhm-multiple-roles.php:63
actionadmin_enqueue_scriptshm-multiple-roles.php:88
actionuser_new_formhm-multiple-roles.php:137
actionshow_user_profilehm-multiple-roles.php:138
actionedit_user_profilehm-multiple-roles.php:139
actionpersonal_options_updatehm-multiple-roles.php:192
actionedit_user_profile_updatehm-multiple-roles.php:193
actionuser_registerhm-multiple-roles.php:194
Maintenance & Trust

HM Multiple Roles Maintenance & Trust

Maintenance Signals

WordPress version tested6.7.5
Last updatedFeb 6, 2025
PHP min version7.2
Downloads28K

Community Trust

Rating72/100
Number of ratings5
Active installs2K
Developer Profile

HM Multiple Roles Developer Profile

Hossni Mubarak

14 plugins · 8K total installs

76
trust score
Avg Security Score
95/100
Avg Patch Time
136 days
View full developer profile
Detection Fingerprints

How We Detect HM Multiple Roles

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/hm-multiple-roles/assets/hmmr-admin.css/wp-content/plugins/hm-multiple-roles/assets/hmmr-admin.js
Script Paths
freemius/start.php
Version Parameters
hm-multiple-roles/assets/hmmr-admin.css?ver=hm-multiple-roles/assets/hmmr-admin.js?ver=

HTML / DOM Fingerprints

CSS Classes
hmmr-roles-container
HTML Comments
<!-- Help us to keep this plugin alive. Buy us a coffee! -->
Data Attributes
name="hmmr_user_roles[]"id="user_role_value="checked="checked"name="_hmmr_roles_nonce"
FAQ

Frequently Asked Questions about HM Multiple Roles