Display Category Post Count Security & Risk Analysis

wordpress.org/plugins/display-category-post-count

This plugin help you to display post count in category for wordpress post and woocommerce product

100 active installs v1.1 PHP 5.6+ WP 4.4+ Updated Feb 6, 2021
categorycategory-post-countdisplaypostwoocommerce-category
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Display Category Post Count Safe to Use in 2026?

Generally Safe

Score 85/100

Display Category Post Count has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 5yr ago
Risk Assessment

The plugin "display-category-post-count" v1.1 exhibits a generally strong security posture based on the provided static analysis. It demonstrates good practices by having no identified dangerous functions, no file operations, no external HTTP requests, and all identified output is properly escaped. Furthermore, the absence of any recorded vulnerabilities in its history suggests a commitment to security by the developers or a lack of discoverable flaws to date.

However, there are notable areas for improvement. The plugin has no nonce checks or capability checks implemented, which means that if an entry point were to become vulnerable, unauthorized users could potentially trigger actions. Additionally, the single SQL query present is not using prepared statements, posing a risk of SQL injection if user input is not meticulously sanitized before being passed to this query. While the attack surface is small, the lack of authentication checks on any entry points is a potential concern.

In conclusion, the plugin is not inherently insecure, and its vulnerability history is a positive sign. Nevertheless, the lack of nonces and capability checks, coupled with the unparameterized SQL query, represent specific security weaknesses that could be exploited if an attack vector is discovered. Addressing these points would further strengthen its security.

Key Concerns

  • SQL query without prepared statements
  • No nonce checks
  • No capability checks
Vulnerabilities
None known

Display Category Post Count Security Vulnerabilities

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

Display Category Post Count Code Analysis

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

SQL Query Safety

0% prepared1 total queries
Attack Surface

Display Category Post Count Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[get-post-count-wpcpc] category-post-count.php:30
Maintenance & Trust

Display Category Post Count Maintenance & Trust

Maintenance Signals

WordPress version tested5.6.17
Last updatedFeb 6, 2021
PHP min version5.6
Downloads3K

Community Trust

Rating74/100
Number of ratings3
Active installs100
Developer Profile

Display Category Post Count Developer Profile

amitk06

2 plugins · 110 total installs

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

How We Detect Display Category Post Count

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

Asset Fingerprints

Version Parameters
display-category-post-count/display-category-post-count.php?ver=1.1

HTML / DOM Fingerprints

Shortcode Output
[get-post-count-wpcpc category="your category name" post_type="post/product/etc"]
FAQ

Frequently Asked Questions about Display Category Post Count