If Shortcode Security & Risk Analysis

wordpress.org/plugins/if-shortcode

This plugin provides an [if] shortcode to conditionally render content.

200 active installs v0.3.0 PHP 5.4+ WP 3.0.1+ Updated Aug 2, 2024
conditionalconditional-tagselseifshortcode
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is If Shortcode Safe to Use in 2026?

Generally Safe

Score 92/100

If Shortcode 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 "if-shortcode" plugin v0.3.0 demonstrates a strong security posture based on the provided static analysis. The absence of dangerous functions, the exclusive use of prepared statements for SQL queries, and the proper escaping of all outputs indicate a developer who understands fundamental security practices. The lack of file operations and external HTTP requests further reduces potential attack vectors. Crucially, the plugin has no recorded vulnerabilities, CVEs, or historical security issues, which is a significant positive indicator. The attack surface, while present with three shortcodes, is noted as entirely unprotected, which is a potential concern if these shortcodes handle any sensitive user input or functionality. However, without specific details on the shortcode implementations or any taint flows, it's impossible to definitively assess the risk they pose. The lack of nonce and capability checks on these entry points is a notable weakness. While the plugin is free from known historical flaws and utilizes secure coding practices for data handling, the unprotected nature of its shortcodes is the primary area of concern. This could lead to issues if not handled carefully within the shortcode logic itself. The absence of taint analysis results is also a missed opportunity for a deeper security assessment.

Key Concerns

  • Shortcodes lack capability checks
  • Shortcodes lack nonce checks
Vulnerabilities
None known

If Shortcode Security Vulnerabilities

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

If 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

If Shortcode Attack Surface

Entry Points3
Unprotected0

Shortcodes 3

[if] plugin.php:17
[else] plugin.php:36
[eitherway] plugin.php:43
WordPress Hooks 1
actioninitplugin.php:51
Maintenance & Trust

If Shortcode Maintenance & Trust

Maintenance Signals

WordPress version tested6.6.5
Last updatedAug 2, 2024
PHP min version5.4
Downloads5K

Community Trust

Rating100/100
Number of ratings6
Active installs200
Developer Profile

If Shortcode Developer Profile

geomagas

1 plugin · 200 total installs

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

How We Detect If Shortcode

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

Asset Fingerprints

HTML / DOM Fingerprints

Shortcode Output
<!--BEGIN_IF_SHORTCODE--><!--END_IF_SHORTCODE--><!--BEGIN_ELSE--><!--END_ELSE-->
FAQ

Frequently Asked Questions about If Shortcode