Hide Categories On Shop Page Security & Risk Analysis

wordpress.org/plugins/hide-categories-on-shop-page

Simple solution to hide specific categories in you woocommerce shop main page i.e. domain.com/shop This plugin was based on WC Hide Categories On Shop …

1K active installs v1.1.3 PHP 7.0+ WP 3.0.1+ Updated Nov 28, 2022
e-commercewoocommercewordpress
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Hide Categories On Shop Page Safe to Use in 2026?

Generally Safe

Score 85/100

Hide Categories On Shop Page has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 3yr ago
Risk Assessment

The 'hide-categories-on-shop-page' plugin version 1.1.3 exhibits a strong security posture based on the provided static analysis. There are no identified entry points, dangerous functions, file operations, external HTTP requests, or SQL queries that are not properly prepared. The absence of known vulnerabilities and a clean vulnerability history further contribute to this positive assessment, indicating a development team that prioritizes security.

However, a significant concern arises from the complete lack of output escaping. With one output identified and none properly escaped, there is a high risk of Cross-Site Scripting (XSS) vulnerabilities. This means that any data outputted by the plugin could potentially be manipulated by an attacker to inject malicious scripts into the user's browser. Additionally, the absence of any capability checks or nonce checks, while not directly indicating a risk given the zero attack surface, represents a missed opportunity for robust security practices and leaves the plugin less prepared should new entry points be introduced in future versions.

In conclusion, while the plugin benefits from a small attack surface and a secure foundation regarding SQL and core WordPress functionalities, the lack of output escaping presents a critical vulnerability. This single oversight significantly elevates the risk profile, overshadowing the otherwise positive security indicators. The vulnerability history is excellent, but the static analysis points to a specific, exploitable weakness.

Key Concerns

  • Output not properly escaped
  • No capability checks
  • No nonce checks
Vulnerabilities
None known

Hide Categories On Shop Page Security Vulnerabilities

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

Hide Categories On Shop Page Code Analysis

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

Output Escaping

0% escaped1 total outputs
Attack Surface

Hide Categories On Shop Page Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 4
filterwoocommerce_get_sections_productswc-hide-categories-on-shop-page.php:44
filterwoocommerce_get_settings_productswc-hide-categories-on-shop-page.php:55
filterget_termswc-hide-categories-on-shop-page.php:109
actionadmin_noticeswc-hide-categories-on-shop-page.php:189
Maintenance & Trust

Hide Categories On Shop Page Maintenance & Trust

Maintenance Signals

WordPress version tested6.1.10
Last updatedNov 28, 2022
PHP min version7.0
Downloads43K

Community Trust

Rating88/100
Number of ratings14
Active installs1K
Developer Profile

Hide Categories On Shop Page Developer Profile

WMEric

2 plugins · 1K total installs

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

How We Detect Hide Categories On Shop Page

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

Asset Fingerprints

HTML / DOM Fingerprints

HTML Comments
<!-- if a product category and on the shop page to hide from shop page, replace is_page('YOUR_PAGE_SLUG') with is_shop() if ( in_array( 'product_cat', $taxonomies ) && ! is_admin() && is_page('YOUR_PAGE_SLUG') ) { Test some variations user may have for their shop ToDo make a dropdown select of current pages If you need a different page just uncomment out remove // in front of $mwd_opt4 and Then insert your page slug << -- This needs done in a more appropriate way for multisite users i.e. page select or text input --><!-- $mwd_opt5 Lets you hide the category everywhere --><!-- // Uncomment the function below if you also want those products hidden --><!-- Admin notice if WooCommerce is not installed or active -->
FAQ

Frequently Asked Questions about Hide Categories On Shop Page