Disable Comments on Media Attachments Security & Risk Analysis

wordpress.org/plugins/disable-comments-on-attachments

Disable Comments on Media Attachments Pages, Sitewide, Just Activate The Plugin.

400 active installs v0.2.2 PHP 5.4+ WP 2.5.0+ Updated Jun 2, 2022
attachmentsattachments-commentcommentsdisable-attachment-commentsdisable-comments
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Disable Comments on Media Attachments Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 3yr ago
Risk Assessment

The plugin "disable-comments-on-attachments" v0.2.2 exhibits a generally strong security posture based on the provided static analysis. The absence of any recorded vulnerabilities, critical taint flows, or raw SQL queries is highly encouraging. Furthermore, the plugin demonstrates good practices by implementing nonce and capability checks, indicating an awareness of common WordPress security pitfalls. The limited attack surface, with no AJAX handlers, REST API routes, or shortcodes, further reduces its potential for exploitation.

However, there are a few areas that warrant attention. The fact that 63% of output is properly escaped, while not critically low, suggests that there is room for improvement to ensure all output is robustly sanitized, potentially mitigating risks of reflected cross-site scripting (XSS) if any user-controlled data were to be outputted. The presence of two external HTTP requests also introduces a minor risk, as these could be points of compromise if the external resource is malicious or compromised, or if the plugin handles the response insecurely. The taint analysis did reveal one flow with unsanitized paths, which, although not flagged as critical or high severity, should be investigated and remediated to prevent potential path traversal vulnerabilities.

Overall, this plugin appears to be developed with security in mind, with no historical vulnerabilities and a generally secure codebase. The identified minor concerns regarding output escaping and unsanitized paths are areas for enhancement rather than immediate critical threats, but addressing them would further solidify the plugin's security.

Key Concerns

  • Unsanitized paths in taint analysis flow
  • Not all outputs properly escaped
  • External HTTP requests present
Vulnerabilities
None known

Disable Comments on Media Attachments Security Vulnerabilities

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

Disable Comments on Media Attachments Code Analysis

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

Output Escaping

63% escaped49 total outputs
Data Flows
1 unsanitized

Data Flow Analysis

3 flows1 with unsanitized paths
send_data (tracking\class-plugin-usage-tracker.php:427)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Disable Comments on Media Attachments Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 4
filtercomments_opendisable-comments-on-attachments.php:51
actionadmin_noticestracking\class-plugin-usage-tracker.php:143
actionadmin_footer-plugins.phptracking\class-plugin-usage-tracker.php:148
actionwp_dashboard_setupwpdev-dashboard-widget.php:52
Maintenance & Trust

Disable Comments on Media Attachments Maintenance & Trust

Maintenance Signals

WordPress version tested6.0.11
Last updatedJun 2, 2022
PHP min version5.4
Downloads8K

Community Trust

Rating100/100
Number of ratings2
Active installs400
Developer Profile

Disable Comments on Media Attachments Developer Profile

M Asif Rahman

4 plugins · 430 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 Media Attachments

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-attachments/tracking/class-plugin-usage-tracker.php

HTML / DOM Fingerprints

FAQ

Frequently Asked Questions about Disable Comments on Media Attachments