Custom Post Avatar Security & Risk Analysis

wordpress.org/plugins/custom-post-avatar

Custom Post Avatar gives you the possibility to replace your default avatar by a custom image on each post individually.

10 active installs v0.9.6 PHP 5.2.4+ WP 4.9+ Updated Sep 24, 2020
avatargravatarlocal-avatarreplacementuser-image
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Custom Post Avatar Safe to Use in 2026?

Generally Safe

Score 85/100

Custom Post Avatar 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 custom-post-avatar plugin version 0.9.6 demonstrates a generally strong security posture based on the provided static analysis. It has a very small attack surface with only one AJAX handler, and crucially, no apparent unprotected entry points. The code also shows good practices by utilizing prepared statements for all SQL queries and implementing a reasonable number of nonce and capability checks. There are no detected dangerous functions, file operations, or external HTTP requests, further contributing to a secure baseline. The absence of any recorded vulnerabilities or CVEs in its history is a positive indicator of past security diligence.

However, there is a minor area for improvement regarding output escaping. With 17 total outputs and 82% properly escaped, there are still a few instances (approximately 3 outputs) that might be vulnerable to cross-site scripting (XSS) if the unescaped content originates from user input. While taint analysis found no issues, this could be due to the limited scope of analysis or the specific data flow. The lack of taint flow analysis in general could hide potential issues if the analysis engine had limitations.

Overall, this plugin appears to be well-developed from a security perspective. The main concern is the potential for unescaped output, which, while not critical in this instance, should be addressed to achieve a fully robust security profile. The plugin's history of no vulnerabilities is commendable and suggests a commitment to security by its developers.

Key Concerns

  • Unescaped output found
Vulnerabilities
None known

Custom Post Avatar Security Vulnerabilities

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

Custom Post Avatar Code Analysis

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

Output Escaping

82% escaped17 total outputs
Attack Surface

Custom Post Avatar Attack Surface

Entry Points1
Unprotected0

AJAX Handlers 1

authwp_ajax_custom-post-avatar-upload-actionclass-custompostavatar.php:19
WordPress Hooks 12
actionadmin_headclass-custompostavatar.php:18
actionshow_user_profileclass-custompostavatar.php:20
actionedit_user_profileclass-custompostavatar.php:21
actionpersonal_options_updateclass-custompostavatar.php:22
actionedit_user_profile_updateclass-custompostavatar.php:23
filterposts_whereclass-custompostavatar.php:25
filterupload_dirclass-custompostavatar.php:144
filtersanitize_file_nameclass-custompostavatar.php:146
actionadmin_enqueue_scriptscustom-post-avatar.php:34
actionsave_postcustom-post-avatar.php:35
actionadd_meta_boxescustom-post-avatar.php:36
filterget_avatarcustom-post-avatar.php:37
Maintenance & Trust

Custom Post Avatar Maintenance & Trust

Maintenance Signals

WordPress version tested5.5.18
Last updatedSep 24, 2020
PHP min version5.2.4
Downloads1K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Custom Post Avatar Developer Profile

Christian Hockenberger

1 plugin · 10 total installs

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

How We Detect Custom Post Avatar

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/custom-post-avatar/custom-post-avatar.css
Script Paths
/wp-content/plugins/custom-post-avatar/custom-post-avatar.js
Version Parameters
custom_post_avatar_style=0.9.4custom_post_avatar_script=0.9.4

HTML / DOM Fingerprints

Data Attributes
data-custom-post-avatar-id
JS Globals
custom_post_avatar_upload_nonce
FAQ

Frequently Asked Questions about Custom Post Avatar