Restrict Posts based on Conditions – Conditional Post Restrictions Security & Risk Analysis

wordpress.org/plugins/wp-conditional-post-restrictions

Restrict , hide , or block the content of your WordPress posts using a conditional rules system.

40 active installs v1.2.5 PHP + WP 3.6+ Updated Jan 28, 2025
access-controlregistration-formrestrict-accessrestrict-pagesrestrict-posts
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Restrict Posts based on Conditions – Conditional Post Restrictions Safe to Use in 2026?

Generally Safe

Score 92/100

Restrict Posts based on Conditions – Conditional Post Restrictions has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 1yr ago
Risk Assessment

The static analysis of wp-conditional-post-restrictions v1.2.5 reveals a generally strong security posture. The plugin demonstrates good security practices by having no identified attack surface through AJAX, REST API, shortcodes, or cron events, and importantly, all entry points are protected by authentication checks. Furthermore, the plugin utilizes prepared statements for its single SQL query and includes nonce and capability checks. The absence of file operations and external HTTP requests also reduces the potential attack vectors.

However, a notable concern arises from the output escaping. With 60% of outputs properly escaped out of 98 total, there's a significant risk of cross-site scripting (XSS) vulnerabilities. Although no specific taint flows were identified, the unescaped output represents a direct and actionable security weakness. The plugin's history of zero known CVEs is a positive indicator of past security diligence. Nevertheless, the XSS risk due to insufficient output escaping warrants careful attention.

In conclusion, while the plugin excels in preventing unauthorized access and data manipulation through robust input validation and secure query practices, the inadequate output escaping poses a tangible risk of XSS. The plugin's vulnerability-free history is commendable, but this specific code signal requires remediation to achieve a truly secure state. The overall security is good, but the XSS potential detracts from it.

Key Concerns

  • Insufficient output escaping detected
Vulnerabilities
None known

Restrict Posts based on Conditions – Conditional Post Restrictions Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

Restrict Posts based on Conditions – Conditional Post Restrictions Release Timeline

v1.2.5Current
v1.2.4
v1.2.2
v1.2.1
v1.2.0
v1.1.2
v1.1.1
v1.0.0
Code Analysis
Analyzed Mar 16, 2026

Restrict Posts based on Conditions – Conditional Post Restrictions Code Analysis

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

Bundled Libraries

Freemius1.0

SQL Query Safety

100% prepared1 total queries

Output Escaping

60% escaped98 total outputs
Attack Surface

Restrict Posts based on Conditions – Conditional Post Restrictions Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 32
actionwpcpr/settings_page/introbackend\settings-page.php:3
actionvpr_/metabox/after_conditions_groupbackend\settings-page.php:4
filtervg_plugin_sdk/assets/allowed_pagesbackend\settings-page.php:9
filtervpr_conditions_groups_html_optionsbackend\teasers.php:3
actionvpr_/metabox/after_conditions_groupbackend\teasers.php:72
filtervpr_supported_post_typesbackend\teasers.php:81
actionvpr/post_types/after_select_renderedbackend\teasers.php:89
actionadd_meta_boxesbackend\teasers.php:116
actionvg_sheet_editor/initializedintegrations\wp-sheet-editor.php:13
actionvg_sheet_editor/editor/register_columnsintegrations\wp-sheet-editor.php:17
actionvg_sheet_editor/editor_page/after_contentintegrations\wp-sheet-editor.php:18
filtervg_sheet_editor/woocommerce/teasers/allowed_columnsintegrations\wp-sheet-editor.php:19
filtervg_sheet_editor/woocommerce/teasers/allowed_variation_columnsintegrations\wp-sheet-editor.php:20
filtervg_sheet_editor/custom_columns/teaser/allow_to_lock_columnintegrations\wp-sheet-editor.php:21
filtervg_sheet_editor/factory/is_column_allowedintegrations\wp-sheet-editor.php:22
filtervg_sheet_editor/infinite_serialized_column/column_settingsintegrations\wp-sheet-editor.php:23
actioninitintegrations\wp-sheet-editor.php:168
actionadmin_menumodules\core\backend\settings.php:188
actionadmin_initmodules\core\backend\settings.php:189
actionadmin_enqueue_scriptsmodules\core\backend\settings.php:190
actiontemplate_redirectmodules\core\frontend\posts-restrictions-handler.php:171
filterthe_contentmodules\core\frontend\posts-restrictions-handler.php:172
filterpost_classmodules\core\frontend\posts-restrictions-handler.php:173
filterwp_get_nav_menu_itemsmodules\core\frontend\posts-restrictions-handler.php:174
filterbody_classmodules\core\inc\init.php:21
actioninitmodules\core\inc\init.php:35
actionadd_meta_boxesmodules\core\inc\restrictions-post-type.php:529
actionadmin_enqueue_scriptsmodules\core\inc\restrictions-post-type.php:530
actionsave_postmodules\core\inc\restrictions-post-type.php:531
actionplugins_loadedwp-conditional-post-restrictions.php:81
actioninitwp-conditional-post-restrictions.php:82
filterwoocommerce_allow_marketplace_suggestionswp-conditional-post-restrictions.php:84
Maintenance & Trust

Restrict Posts based on Conditions – Conditional Post Restrictions Maintenance & Trust

Maintenance Signals

WordPress version tested6.7.5
Last updatedJan 28, 2025
PHP min version
Downloads5K

Community Trust

Rating74/100
Number of ratings3
Active installs40
Developer Profile

Restrict Posts based on Conditions – Conditional Post Restrictions Developer Profile

Jose Vega

20 plugins · 30K total installs

76
trust score
Avg Security Score
95/100
Avg Patch Time
258 days
View full developer profile
Detection Fingerprints

How We Detect Restrict Posts based on Conditions – Conditional Post Restrictions

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wp-conditional-post-restrictions/assets/css/main.css/wp-content/plugins/wp-conditional-post-restrictions/assets/js/main.js
Script Paths
/wp-content/plugins/wp-conditional-post-restrictions/vendor/vg-plugin-sdk/index.php/wp-content/plugins/wp-conditional-post-restrictions/inc/freemius-init.php/wp-content/plugins/wp-conditional-post-restrictions/inc/vg-plugin-sdk/includes/class-vg-freemium-plugin-sdk.php/wp-content/plugins/wp-conditional-post-restrictions/inc/vpr-helpers.php/wp-content/plugins/wp-conditional-post-restrictions/inc/vpr-settings-views.php/wp-content/plugins/wp-conditional-post-restrictions/inc/vpr-settings.php+1 more
Version Parameters
wp-conditional-post-restrictions/style.css?ver=wp-conditional-post-restrictions/script.js?ver=

HTML / DOM Fingerprints

CSS Classes
vpr-settings-page
Data Attributes
data-role="vpr-settings-page"
JS Globals
vpr_data
REST Endpoints
/wp-json/vpr/v1/settings
FAQ

Frequently Asked Questions about Restrict Posts based on Conditions – Conditional Post Restrictions