Comments Extra Fields For Post,Pages and CPT Security & Risk Analysis

wordpress.org/plugins/wp-comment-fields

This plugin allow admin to add extra fields in comment area. These fields are saved as comment meta and is displayed under comment text.

600 active installs v5.1 PHP 5.3+ WP 3.5+ Updated Feb 25, 2024
comment-fieldscomment-formcomment-metacomments-inputsextend-comments
84
B · Generally Safe
CVEs total3
Unpatched0
Last CVEFeb 26, 2024
Safety Verdict

Is Comments Extra Fields For Post,Pages and CPT Safe to Use in 2026?

Mostly Safe

Score 84/100

Comments Extra Fields For Post,Pages and CPT is generally safe to use though it hasn't been updated recently. 3 past CVEs were resolved.

3 known CVEsLast CVE: Feb 26, 2024Updated 2yr ago
Risk Assessment

The "wp-comment-fields" plugin v5.1 presents a mixed security posture. On the positive side, the plugin demonstrates good practices regarding SQL query handling, with 100% of queries utilizing prepared statements. The majority of output is also properly escaped (90%), and there are no reported critical or high-severity vulnerabilities, nor are there any currently unpatched CVEs. However, significant concerns arise from the attack surface. With 6 total entry points, 4 of which lack authentication checks, there is a substantial risk of unauthorized actions or information disclosure. This is further highlighted by the presence of 4 AJAX handlers without proper authorization checks, which are often prime targets for attackers. The vulnerability history, though currently free of unpatched issues, shows a pattern of medium-severity vulnerabilities including Cross-Site Request Forgery (CSRF), Missing Authorization, and Cross-site Scripting (XSS). The last reported vulnerability in February 2024 suggests ongoing security attention is needed. While the code signals generally look good, the high number of unprotected entry points and the past vulnerability types are the primary areas of concern, indicating a need for more robust authorization controls.

Key Concerns

  • Unprotected AJAX handlers
  • Missing authorization checks on entry points
  • Past medium severity vulnerabilities (CSRF, Missing Auth, XSS)
  • Bundled Select2 library
Vulnerabilities
3 published

Comments Extra Fields For Post,Pages and CPT Security Vulnerabilities

CVEs by Year

1 CVE in 2022
2022
2 CVEs in 2024
2024
Patched Has unpatched

Severity Breakdown

Medium
3

3 total CVEs

CVE-2024-0830medium · 4.3Cross-Site Request Forgery (CSRF)

Comments Extra Fields For Post,Pages and CPT <= 5.0 - Cross-Site Request Forgery

Feb 26, 2024 Patched in 5.1 (155d)
CVE-2024-0829medium · 4.3Missing Authorization

Comments Extra Fields For Post,Pages and CPT <= 5.0 - Missing Authorization

Feb 26, 2024 Patched in 5.1 (155d)
CVE-2022-2398medium · 5.5Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

WordPress Comments Fields <= 4.0 - Authenticated (Admin+) Stored Cross-Site Scripting

Jul 14, 2022 Patched in 4.1 (558d)
Code Analysis
Analyzed Mar 16, 2026

Comments Extra Fields For Post,Pages and CPT Code Analysis

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

Bundled Libraries

Select2

Output Escaping

90% escaped843 total outputs
Data Flows · Security
2 unsanitized

Data Flow Analysis

5 flows2 with unsanitized paths
fields_render (classes\form.class.php:57)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
4 unprotected

Comments Extra Fields For Post,Pages and CPT Attack Surface

Entry Points6
Unprotected4

AJAX Handlers 6

authwp_ajax_wpcomment_save_form_metaclasses\admin.class.php:26
authwp_ajax_wpcomment_save_settingsclasses\admin.class.php:27
authwp_ajax_wpcomment_upload_fileclasses\class.frontend.php:41
noprivwp_ajax_wpcomment_upload_fileclasses\class.frontend.php:42
authwp_ajax_wpcomment_delete_fileclasses\class.frontend.php:43
noprivwp_ajax_wpcomment_delete_fileclasses\class.frontend.php:44
WordPress Hooks 11
actionadmin_menuclasses\admin.class.php:18
actionadd_meta_boxes_commentclasses\admin.class.php:32
actioncomment_form_after_fieldsclasses\class.frontend.php:26
actioncomment_form_logged_in_afterclasses\class.frontend.php:27
actioncomment_postclasses\class.frontend.php:32
filtercomment_textclasses\class.frontend.php:38
actionadmin_enqueue_scriptsclasses\fields.class.php:19
actionwp_enqueue_scriptsclasses\frontend-scripts.class.php:46
actionadmin_enqueue_scriptsclasses\frontend-scripts.class.php:48
actioninitwp-comment-fields.php:27
actionplugins_loadedwp-comment-fields.php:55
Maintenance & Trust

Comments Extra Fields For Post,Pages and CPT Maintenance & Trust

Maintenance Signals

WordPress version tested6.4.8
Last updatedFeb 25, 2024
PHP min version5.3
Downloads52K

Community Trust

Rating84/100
Number of ratings9
Active installs600
Developer Profile

Comments Extra Fields For Post,Pages and CPT Developer Profile

N-Media

29 plugins · 5K total installs

69
trust score
Avg Security Score
86/100
Avg Patch Time
665 days
View full developer profile
Detection Fingerprints

How We Detect Comments Extra Fields For Post,Pages and CPT

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wp-comment-fields/js/admin/pre-load.js/wp-content/plugins/wp-comment-fields/css/bootstrap/bootstrap.min.css/wp-content/plugins/wp-comment-fields/css/font-awesome/css/font-awesome.min.css/wp-content/plugins/wp-comment-fields/css/sweetalert.css/wp-content/plugins/wp-comment-fields/js/sweetalert.js/wp-content/plugins/wp-comment-fields/css/select2.css/wp-content/plugins/wp-comment-fields/js/select2.js/wp-content/plugins/wp-comment-fields/css/codemirror-theme.css+4 more
Script Paths
/wp-content/plugins/wp-comment-fields/js/admin/pre-load.js/wp-content/plugins/wp-comment-fields/js/sweetalert.js/wp-content/plugins/wp-comment-fields/js/select2.js/wp-content/plugins/wp-comment-fields/js/admin/jquery.tabletojson.min.js/wp-content/plugins/wp-comment-fields/js/wpcomment-tooltip.js/wp-content/plugins/wp-comment-fields/js/admin/wpcomment-admin.js
Version Parameters
wp-comment-fields/js/admin/pre-load.js?ver=wp-comment-fields/css/bootstrap/bootstrap.min.css?ver=wp-comment-fields/css/font-awesome/css/font-awesome.min.css?ver=wp-comment-fields/css/sweetalert.css?ver=wp-comment-fields/js/sweetalert.js?ver=wp-comment-fields/css/select2.css?ver=wp-comment-fields/js/select2.js?ver=wp-comment-fields/css/codemirror-theme.css?ver=wp-comment-fields/js/admin/jquery.tabletojson.min.js?ver=wp-comment-fields/js/wpcomment-tooltip.js?ver=wp-comment-fields/css/wpcomment-admin.css?ver=wp-comment-fields/js/admin/wpcomment-admin.js?ver=

HTML / DOM Fingerprints

CSS Classes
wpcomment-fields-wrapperwpcomment-modal-boxwpcomment-sliderwpcomment-field-wpcomment-modal-bodywpcomment-req-field-idwpcomment-close-checkerwpcomment-close-fields+1 more
JS Globals
wpcomment_vars
FAQ

Frequently Asked Questions about Comments Extra Fields For Post,Pages and CPT