Comment Form Shortcode Security & Risk Analysis

wordpress.org/plugins/comment-form-shortcode

Comment Form Shortcode.

200 active installs v1.3 PHP + WP 3.0.1+ Updated Mar 4, 2014
commentformshortcode
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Comment Form Shortcode Safe to Use in 2026?

Generally Safe

Score 85/100

Comment Form Shortcode has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 12yr ago
Risk Assessment

The "comment-form-shortcode" plugin v1.3 exhibits a mixed security posture. While it demonstrates good practices by avoiding dangerous functions, file operations, external HTTP requests, and using prepared statements for all SQL queries, significant concerns arise from its output escaping practices. The fact that 0% of its 38 output operations are properly escaped is a major red flag, potentially opening the door to Cross-Site Scripting (XSS) vulnerabilities. The absence of nonce checks and the presence of only one capability check on its single shortcode entry point, coupled with the lack of auth checks on AJAX and REST API entry points (though none exist in this version), suggest a limited but potentially insecure handling of user-provided data within its shortcode functionality.

The taint analysis found no critical or high-severity flows, which is a positive indicator. Furthermore, the plugin has no recorded vulnerability history, including CVEs. This historical lack of vulnerabilities could suggest either diligent development or a lack of targeted attacks on this specific plugin. However, it does not negate the identified risks within the current code. The absence of unpatched CVEs is a strength, but the unescaped output remains a substantial weakness that could be exploited.

In conclusion, the plugin's strengths lie in its avoidance of common dangerous code patterns and its clean vulnerability history. However, the pervasive lack of output escaping is a critical security concern that significantly undermines its overall security. Future development should prioritize proper output sanitation to mitigate XSS risks. The limited attack surface is a positive, but the lack of robust input validation and output escaping on the existing shortcode presents a clear risk.

Key Concerns

  • No output escaping
  • No nonce checks
  • Limited capability checks on shortcode
Vulnerabilities
None known

Comment Form Shortcode Security Vulnerabilities

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

Comment Form Shortcode Code Analysis

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

Output Escaping

0% escaped38 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
comment_form_shortcode_option (comment-form-shortcode.php:117)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Comment Form Shortcode Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[comment] comment-form-shortcode.php:86
WordPress Hooks 4
actionadmin_menucomment-form-shortcode.php:12
actionadmin_enqueue_scriptscomment-form-shortcode.php:14
actionadmin_initcomment-form-shortcode.php:48
filterwidget_textcomment-form-shortcode.php:64
Maintenance & Trust

Comment Form Shortcode Maintenance & Trust

Maintenance Signals

WordPress version tested3.7.41
Last updatedMar 4, 2014
PHP min version
Downloads10K

Community Trust

Rating100/100
Number of ratings11
Active installs200
Developer Profile

Comment Form Shortcode Developer Profile

Bhagirath Dhanani

4 plugins · 390 total installs

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

How We Detect Comment Form Shortcode

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/comment-form-shortcode/css/main.css/wp-content/plugins/comment-form-shortcode/css/bootstrap.min.css/wp-content/plugins/comment-form-shortcode/js/main.js/wp-content/plugins/comment-form-shortcode/js/bootstrap.min.js
Script Paths
/wp-content/plugins/comment-form-shortcode/js/main.js/wp-content/plugins/comment-form-shortcode/js/bootstrap.min.js
Version Parameters
comment-form-shortcode/css/main.css?ver=comment-form-shortcode/css/bootstrap.min.css?ver=comment-form-shortcode/js/main.js?ver=comment-form-shortcode/js/bootstrap.min.js?ver=

HTML / DOM Fingerprints

CSS Classes
addthis_toolboxaddthis_default_styleaddthis_32x32_style
Data Attributes
addthis:urladdthis:titleaddthis:descriptiong:plusone:count
Shortcode Output
[comment][comment comment_file =
FAQ

Frequently Asked Questions about Comment Form Shortcode