
IF AS Shortcode Security & Risk Analysis
wordpress.org/plugins/if-as-shortcodeYou can use if statement as shortcode everywhere you want!
Is IF AS Shortcode Safe to Use in 2026?
Use With Caution
Score 67/100IF AS Shortcode has 1 unpatched vulnerability. Evaluate alternatives or apply available mitigations.
The "if-as-shortcode" v1.2 plugin exhibits a mixed security posture. While it demonstrates good practices by exclusively using prepared statements for SQL queries and implementing nonce and capability checks on its entry points, significant concerns arise from its output escaping. The static analysis reveals that 100% of outputs are not properly escaped, which presents a substantial risk of Cross-Site Scripting (XSS) vulnerabilities. This is a critical oversight that could allow malicious scripts to be injected and executed within the WordPress environment. The vulnerability history, including a recent high-severity CVE related to code injection, further exacerbates these concerns. The fact that this vulnerability is currently unpatched suggests a lack of timely security patching by the developers, or a critical flaw that remains exposed. Therefore, despite some positive security implementations, the combination of unescaped output and an unpatched critical vulnerability makes this plugin a significant security risk.
Key Concerns
- Unescaped output in 100% of outputs
- Currently unpatched high severity CVE
- Previous CVE type: Code Injection
IF AS Shortcode Security Vulnerabilities
CVEs by Year
Severity Breakdown
1 total CVE
IF AS Shortcode <= 1.2 - Authenticated (Contributor+) Remote Code Execution
IF AS Shortcode Release Timeline
IF AS Shortcode Code Analysis
Output Escaping
Data Flow Analysis
IF AS Shortcode Attack Surface
AJAX Handlers 2
Shortcodes 3
WordPress Hooks 16
Maintenance & Trust
IF AS Shortcode Maintenance & Trust
Maintenance Signals
Community Trust
IF AS Shortcode Alternatives
Conditions for Texts (Dynamic Content)
conditions-for-texts
MAKE YOUR CONTENT DYNAMIC! Use if statements with variables to display text blocks only under certain conditions. For example: Publish other text bloc …
WP Terms Popup – Terms and Conditions and Privacy Policy WordPress Popups
wp-terms-popup
Use WP Terms Popup to ask visitors to agree to your terms and conditions or privacy policy before they are allowed to view your site.
Additional Terms for WooCommerce
woo-additional-terms
Improve your checkout process by adding an extra checkbox for terms and conditions. Keep track of acceptance to ensure transparency and security.
Image Optimizer – Optimize Images and Convert to WebP or AVIF
image-optimization
Automatically resize, optimize, and convert images to WebP and AVIF. Compress images in bulk or on upload to boost your WordPress site performance.
Imagify Image Optimization – Optimize Images | Compress Images | Convert WebP | Convert AVIF
imagify
Optimize images in 1‑click: compress, resize & convert to WebP/AVIF - free up to 20MB/month. Enjoy the easiest WordPress image optimizer to set up.
IF AS Shortcode Developer Profile
3 plugins · 2K total installs
How We Detect IF AS Shortcode
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/if-as-shortcode/include/editor_plugin.js/wp-content/plugins/if-as-shortcode/include/editor_plugin.jsHTML / DOM Fingerprints
<!-- If As Shortcode -->data-mce-placeholderif_statement_text_domain[else]