Prices By User Role Lite Security & Risk Analysis

wordpress.org/plugins/prices-by-user-role-lite

Prices by User Role Lite it is a plugin designed to extend the default WooCommerce functionality by hiding Add to Cart button and product prices from …

10 active installs v1.0 PHP + WP 3.0.1+ Updated Jun 1, 2018
hide-add-to-cart-buttonhide-pricewholesale-pricingwoocommerce-catalog-modewoocommerce-hide-price
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Prices By User Role Lite Safe to Use in 2026?

Generally Safe

Score 85/100

Prices By User Role Lite has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 7yr ago
Risk Assessment

The "prices-by-user-role-lite" v1.0 plugin exhibits a generally positive security posture with no known historical vulnerabilities. The static analysis reveals a limited attack surface, with no AJAX handlers, REST API routes, shortcodes, or cron events exposed. Furthermore, the plugin does not perform file operations or make external HTTP requests, which are common vectors for attack. The use of prepared statements for all SQL queries is a significant strength, mitigating the risk of SQL injection vulnerabilities. The presence of a nonce check is also a good practice.

However, there are notable areas for improvement. The plugin's output escaping is poor, with only 20% of outputs properly escaped. This could lead to cross-site scripting (XSS) vulnerabilities if user-controlled data is rendered without adequate sanitization. While no critical or high severity taint flows were detected, the analysis did reveal two flows with unsanitized paths, which warrants further investigation to understand their potential impact. The absence of capability checks on entry points, although the entry points themselves are currently zero, means that if future entry points are introduced without proper authorization, they would be vulnerable.

Given the lack of historical vulnerabilities and the absence of dangerous functions or raw SQL, the plugin appears to be developed with security in mind. The primary concerns stem from the weak output escaping and the identified unsanitized taint flows. A more robust approach to output sanitization and a thorough review of the unsanitized taint flows are recommended to further enhance the plugin's security.

Key Concerns

  • Low output escaping coverage
  • Unsanitized paths in taint flows
  • No capability checks on entry points
Vulnerabilities
None known

Prices By User Role Lite Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 17, 2026

Prices By User Role Lite Code Analysis

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

Output Escaping

20% escaped5 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
pbr_on_save_new_settings (prices-by-user-role-lite.php:193)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Prices By User Role Lite Attack Surface

Entry Points0
Unprotected0
Maintenance & Trust

Prices By User Role Lite Maintenance & Trust

Maintenance Signals

WordPress version tested4.9.29
Last updatedJun 1, 2018
PHP min version
Downloads1K

Community Trust

Rating100/100
Number of ratings1
Active installs10
Developer Profile

Prices By User Role Lite Developer Profile

Plugiton

1 plugin · 10 total installs

84
trust score
Avg Security Score
85/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect Prices By User Role Lite

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/prices-by-user-role-lite/assets/css/style.css/wp-content/plugins/prices-by-user-role-lite/assets/js/admin.js/wp-content/plugins/prices-by-user-role-lite/assets/js/front.js
Script Paths
/wp-content/plugins/prices-by-user-role-lite/assets/js/admin.js/wp-content/plugins/prices-by-user-role-lite/assets/js/front.js
Version Parameters
prices-by-user-role-lite/assets/css/style.css?ver=prices-by-user-role-lite/assets/js/admin.js?ver=prices-by-user-role-lite/assets/js/front.js?ver=

HTML / DOM Fingerprints

CSS Classes
festi-user-role-prices-top-border
HTML Comments
<!-- Premium Version --><!-- General Settings -->
Data Attributes
data-festi-user-role-prices-lite
JS Globals
pbr_admin_paramspbr_front_params
FAQ

Frequently Asked Questions about Prices By User Role Lite