Simple Primary Category Security & Risk Analysis

wordpress.org/plugins/simple-primary-category

A light-weight WordPress plugin to assign primary category to posts and custom post types.

200 active installs v1.1.1 PHP 7.3+ WP 5.0+ Updated Nov 24, 2023
categoryprimarytaxonomy
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Simple Primary Category Safe to Use in 2026?

Generally Safe

Score 85/100

Simple Primary Category has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 2yr ago
Risk Assessment

The "simple-primary-category" plugin version 1.1.1 presents a generally good security posture based on the static analysis and vulnerability history. The absence of dangerous functions, raw SQL queries, file operations, and external HTTP requests are strong indicators of secure coding practices. The fact that 100% of SQL queries use prepared statements and that a nonce check is present further bolster its security. The plugin also has a clean vulnerability history, with no known CVEs, which suggests a history of responsible development and maintenance.

However, there are areas for improvement. The presence of unprotected entry points is concerning, even though none were found in this specific analysis (the 'unprotected: 0' suggests a scan might have missed something or the actual attack surface is limited). Furthermore, the output escaping is only 50% properly handled, which could lead to cross-site scripting (XSS) vulnerabilities if user-supplied data is outputted without proper sanitization. The lack of capability checks on its single shortcode also means that any user, regardless of their role, can potentially execute its functionality, which might not be intended.

Key Concerns

  • Output escaping only 50% proper
  • Capability checks missing on shortcode
Vulnerabilities
None known

Simple Primary Category Security Vulnerabilities

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

Simple Primary Category Code Analysis

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

Output Escaping

50% escaped4 total outputs
Attack Surface

Simple Primary Category Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[spc_primary_term_posts] includes\spc-functions.php:73
WordPress Hooks 4
actionadmin_enqueue_scriptsincludes\admin\class-spc-admin.php:28
actionadmin_footerincludes\admin\class-spc-admin.php:29
actionsave_postincludes\admin\class-spc-admin.php:30
actioninitincludes\spc-functions.php:124
Maintenance & Trust

Simple Primary Category Maintenance & Trust

Maintenance Signals

WordPress version tested6.4.8
Last updatedNov 24, 2023
PHP min version7.3
Downloads5K

Community Trust

Rating100/100
Number of ratings1
Active installs200
Developer Profile

Simple Primary Category Developer Profile

Ashar Irfan

2 plugins · 250 total installs

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

How We Detect Simple Primary Category

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/simple-primary-category/dist/spc-classic-editor.js/wp-content/plugins/simple-primary-category/dist/spc-gutenberg.js
Script Paths
/wp-content/plugins/simple-primary-category/dist/spc-classic-editor.js/wp-content/plugins/simple-primary-category/dist/spc-gutenberg.js
Version Parameters
spc-taxonomy

HTML / DOM Fingerprints

Data Attributes
data-spc-primary-term
JS Globals
spcData
FAQ

Frequently Asked Questions about Simple Primary Category