Disable Comments on Post Categories Security & Risk Analysis

wordpress.org/plugins/disable-comments-on-post-categories

As the name suggest, the plugin allows administrator to disable comments on specific post categories.

100 active installs v0.91 PHP + WP 3.6+ Updated Sep 25, 2014
categoriescommentsdisabledisable-on-post-categoriesposts
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Disable Comments on Post Categories Safe to Use in 2026?

Generally Safe

Score 85/100

Disable Comments on Post Categories has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 11yr ago
Risk Assessment

The "disable-comments-on-post-categories" plugin v0.91 demonstrates a generally good security posture with no known vulnerabilities or critical code signals. The absence of AJAX handlers, REST API routes, shortcodes, cron events, and external HTTP requests significantly limits its attack surface. The use of prepared statements for all SQL queries is a strong indicator of secure database interaction. However, a significant concern arises from the taint analysis, which identified one flow with unsanitized paths, even though it was not classified as critical or high severity. This indicates a potential, albeit low-risk, for issues if user-supplied data is not properly validated or escaped before being processed in a way that could lead to unexpected behavior or information disclosure.

Furthermore, the static analysis reveals that 0% of the 6 identified output operations are properly escaped. This is a critical weakness, as it leaves the plugin susceptible to Cross-Site Scripting (XSS) vulnerabilities. Any data rendered to the front-end or back-end that originates from user input or potentially dynamic sources without proper escaping could be exploited. Given the plugin's focus on modifying comment behavior, this lack of output escaping is particularly concerning, as comment content can often be a source of malicious input.

While the plugin has no recorded vulnerability history, this does not negate the immediate risks identified in the code analysis. The lack of proper output escaping and the presence of an unsanitized data flow, even if not leading to critical issues in this version, warrant attention. The plugin's strengths lie in its minimal attack surface and secure database practices. However, the unescaped output is a significant concern that should be addressed to prevent potential XSS attacks.

Key Concerns

  • 0% of outputs are properly escaped
  • 1 flow with unsanitized paths (taint analysis)
Vulnerabilities
None known

Disable Comments on Post Categories Security Vulnerabilities

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

Disable Comments on Post Categories Code Analysis

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

Output Escaping

0% escaped6 total outputs
Data Flows
1 unsanitized

Data Flow Analysis

1 flows1 with unsanitized paths
<settings-page> (settings-page.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Disable Comments on Post Categories Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 5
actionadmin_menudisable-comments-categories.php:15
actionthe_postdisable-comments-categories.php:49
filtercomments_opendisable-comments-categories.php:72
filtercomments_templatedisable-comments-categories.php:73
actionwp_headdisable-comments-categories.php:74
Maintenance & Trust

Disable Comments on Post Categories Maintenance & Trust

Maintenance Signals

WordPress version tested4.0.38
Last updatedSep 25, 2014
PHP min version
Downloads3K

Community Trust

Rating0/100
Number of ratings0
Active installs100
Developer Profile

Disable Comments on Post Categories Developer Profile

a.ankit

6 plugins · 21K total installs

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

How We Detect Disable Comments on Post Categories

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/disable-comments-on-post-categories/comments-template.php

HTML / DOM Fingerprints

CSS Classes
nav-tab-active
HTML Comments
<!-- Currently Multi-Site is not Supported -->
Data Attributes
name="disable[]"value="["term_id"]"
FAQ

Frequently Asked Questions about Disable Comments on Post Categories