Conditional Tags Shortcode Security & Risk Analysis

wordpress.org/plugins/conditional-tags-shortcode

A shortcode to display content based on context.

100 active installs v0.2 PHP + WP 3.1+ Updated May 26, 2020
conditionalconditional-tagscontextpageshortcode
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Conditional Tags Shortcode Safe to Use in 2026?

Generally Safe

Score 85/100

Conditional Tags Shortcode 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 "conditional-tags-shortcode" plugin v0.2 exhibits a generally strong security posture based on the provided static analysis. It demonstrates good development practices by avoiding dangerous functions, using prepared statements for all SQL queries, and properly escaping all output. The absence of file operations and external HTTP requests further reduces potential attack vectors. The plugin also has a clean vulnerability history with no recorded CVEs, indicating a history of secure development or effective patching by users if vulnerabilities were ever present.

However, a notable area of concern is the complete absence of nonce checks and capability checks for its single shortcode. While the attack surface is small (only one shortcode and no unprotected AJAX handlers or REST API routes), this lack of authorization checks means that any authenticated user, regardless of their role or permissions, can potentially trigger the shortcode's functionality. This could be a weakness if the shortcode's logic has any side effects or relies on user context that should be restricted.

In conclusion, the plugin's adherence to secure coding practices for data handling and output is commendable. The primary weakness lies in the insufficient authorization checks for its shortcode, which, despite the limited attack surface, presents a potential risk if the shortcode's actions are sensitive. The lack of any reported vulnerabilities is a positive indicator, but the absence of nonce/capability checks is a missed security opportunity.

Key Concerns

  • Missing nonce/capability checks on shortcode
Vulnerabilities
None known

Conditional Tags Shortcode Security Vulnerabilities

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

Conditional Tags Shortcode Code Analysis

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

Conditional Tags Shortcode Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[if] init.php:57
Maintenance & Trust

Conditional Tags Shortcode Maintenance & Trust

Maintenance Signals

WordPress version tested5.4.19
Last updatedMay 26, 2020
PHP min version
Downloads8K

Community Trust

Rating100/100
Number of ratings2
Active installs100
Developer Profile

Conditional Tags Shortcode Developer Profile

shazdeh

24 plugins · 4K total installs

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

How We Detect Conditional Tags Shortcode

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

Asset Fingerprints

HTML / DOM Fingerprints

Shortcode Output
[if
FAQ

Frequently Asked Questions about Conditional Tags Shortcode