Pro Categories Widget Security & Risk Analysis

wordpress.org/plugins/pro-categories-widget

Pro Categories Widget plugin.You have choice to specific categories exclude.

900 active installs v1.3 PHP + WP 2.9+ Updated Mar 26, 2019
advanced-categories-widgetexclude-categoriesexclude-categories-widgetpro-categories-widget
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Pro Categories Widget Safe to Use in 2026?

Generally Safe

Score 85/100

Pro Categories Widget 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 "pro-categories-widget" v1.3 plugin exhibits a mixed security posture. While it has a negligible attack surface and no recorded vulnerabilities (CVEs), the static analysis reveals several concerning code signals. The presence of the deprecated and inherently insecure `create_function` function is a significant red flag, as it can be exploited to execute arbitrary PHP code if user input is not meticulously sanitized before being passed to it. Furthermore, the extremely low percentage of properly escaped output (6%) suggests a high probability of cross-site scripting (XSS) vulnerabilities, where attackers could inject malicious scripts into the website through the widget's output.

Despite the absence of known vulnerabilities and a clean taint analysis, the internal code quality raises concerns. The lack of nonce checks and capability checks on potential entry points (even though none were identified in this analysis, it's a general good practice to implement them) further weakens its security. The plugin's strengths lie in its limited attack surface and complete reliance on prepared statements for any potential SQL operations. However, the identified code signals, particularly the use of `create_function` and poor output escaping, present a tangible risk that could be exploited in the absence of strong input sanitization, leading to code execution or XSS vulnerabilities.

Key Concerns

  • Use of dangerous function: create_function
  • Low percentage of properly escaped output
  • Missing nonce checks
  • Missing capability checks
Vulnerabilities
None known

Pro Categories Widget Security Vulnerabilities

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

Pro Categories Widget Code Analysis

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

Dangerous Functions Found

create_functionadd_action( 'widgets_init', create_function( '', 'register_widget( "Pro_Categories_Widget" );' ) );pro-categories-widget.php:118

Output Escaping

6% escaped35 total outputs
Attack Surface

Pro Categories Widget Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 1
actionwidgets_initpro-categories-widget.php:118
Maintenance & Trust

Pro Categories Widget Maintenance & Trust

Maintenance Signals

WordPress version tested5.1.22
Last updatedMar 26, 2019
PHP min version
Downloads23K

Community Trust

Rating96/100
Number of ratings11
Active installs900
Developer Profile

Pro Categories Widget Developer Profile

Shambhu Patnaik

7 plugins · 3K total installs

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

How We Detect Pro Categories Widget

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

Asset Fingerprints

HTML / DOM Fingerprints

CSS Classes
widget_categories
Data Attributes
id="cat_<?php echo $this->number;?>"onchange="onCatChange_<?php echo $this->number;?>()"
JS Globals
dropdown_<?php echo $this->number;?>onCatChange_<?php echo $this->number;?>
FAQ

Frequently Asked Questions about Pro Categories Widget