Favorite Post Security & Risk Analysis

wordpress.org/plugins/favorite-post

This is a simple yet another favorite post plugin.

70 active installs v1.0 PHP + WP 3.3+ Updated Mar 14, 2020
bookmarkfavoritefavorite-post
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Favorite Post Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 6yr ago
Risk Assessment

The "favorite-post" plugin version 1.0 exhibits a mixed security posture. On the positive side, it has a limited attack surface with no REST API routes or cron events, and all identified entry points appear to have some level of authentication protection. Furthermore, all SQL queries are correctly prepared, and there are no recorded vulnerabilities or CVEs, suggesting a history of responsible development. However, significant concerns arise from the static analysis. The use of the `create_function` is a critical red flag due to its potential for code injection. Compounding this is the high percentage of unsanitized taint flows, with two identified as high severity. This indicates that user-supplied data is not being adequately cleaned before being used in potentially sensitive operations. The low percentage of properly escaped output (19%) also presents a significant risk of cross-site scripting (XSS) vulnerabilities, as malicious content could be injected into the website's frontend.

Key Concerns

  • High severity unsanitized taint flows
  • Low percentage of properly escaped output
  • Use of dangerous function create_function
Vulnerabilities
None known

Favorite Post Security Vulnerabilities

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

Favorite Post Code Analysis

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

Dangerous Functions Found

create_functionadd_action( 'widgets_init', create_function( '', "register_widget('WeDevs_Favorite_Post_Widget');" )favorite-post-widget.php:109

SQL Query Safety

100% prepared6 total queries

Output Escaping

19% escaped21 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
favorite_post (favorite-post.php:187)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Favorite Post Attack Surface

Entry Points3
Unprotected0

AJAX Handlers 1

authwp_ajax_wfp_actionfavorite-post.php:92

Shortcodes 2

[favorite-post-btn] favorite-post.php:88
[favorite-post] favorite-post.php:89
WordPress Hooks 3
actionwidgets_initfavorite-post-widget.php:109
actioninitfavorite-post.php:82
actionwp_enqueue_scriptsfavorite-post.php:85
Maintenance & Trust

Favorite Post Maintenance & Trust

Maintenance Signals

WordPress version tested5.4.19
Last updatedMar 14, 2020
PHP min version
Downloads8K

Community Trust

Rating86/100
Number of ratings7
Active installs70
Developer Profile

Favorite Post Developer Profile

Tareq Hasan

9 plugins · 370 total installs

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

How We Detect Favorite Post

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/favorite-post/css/style.css/wp-content/plugins/favorite-post/js/script.js
Version Parameters
favorite-post/style.css?ver=favorite-post/script.js?ver=

HTML / DOM Fingerprints

CSS Classes
wpf-favoritewpf-not-favorite
JS Globals
wfp
Shortcode Output
[favorite-post-btn][favorite-post]
FAQ

Frequently Asked Questions about Favorite Post