Static Block Security & Risk Analysis

wordpress.org/plugins/static-block

Create Static Block/Content which is use in posts, page, themes, custom posts, widgets.

2K active installs v2.2 PHP + WP 3.8+ Updated Mar 10, 2021
block-contentstatic-blockstatic-block-contentwordpress-block-content
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Static Block Safe to Use in 2026?

Generally Safe

Score 85/100

Static Block 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 "static-block" plugin v2.2 exhibits a generally strong security posture based on the provided static analysis. It correctly utilizes prepared statements for all SQL queries and includes nonce and capability checks, indicating an awareness of common WordPress security best practices. The absence of dangerous functions, file operations, and external HTTP requests further bolsters its security. The vulnerability history is clean, with no recorded CVEs, which suggests a history of secure development or effective patching if vulnerabilities did arise.

However, a notable concern is the low percentage of properly escaped output. With 19% of 53 outputs being properly escaped, there's a significant risk of Cross-Site Scripting (XSS) vulnerabilities. While the taint analysis shows no flows with unsanitized paths, the lack of robust output sanitization could still allow for XSS to be injected through user-controllable data that is later displayed without proper encoding. The limited attack surface (two shortcodes) is a positive, but the lack of specific details on what these shortcodes do makes a definitive assessment challenging.

In conclusion, while the "static-block" plugin has a solid foundation in terms of SQL, auth checks, and a clean vulnerability history, the high proportion of unescaped output is a significant weakness that requires immediate attention. Addressing this would elevate the plugin's security significantly. The current findings indicate a plugin that is largely secure in its core functionality but has a critical area for improvement regarding output sanitization.

Key Concerns

  • Low percentage of properly escaped output
Vulnerabilities
None known

Static Block Security Vulnerabilities

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

Static Block Code Analysis

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

Output Escaping

19% escaped53 total outputs
Attack Surface

Static Block Attack Surface

Entry Points2
Unprotected0

Shortcodes 2

[static_block_content] static-block.php:277
[static_block_thumbnail] static-block.php:316
WordPress Hooks 10
actioninitstatic-block.php:63
actionadmin_headstatic-block.php:65
actionadmin_menustatic-block.php:77
actionsave_poststatic-block.php:209
actionadmin_initstatic-block.php:211
filtermanage_edit-static-block_columnsstatic-block.php:216
actionmanage_static-block_posts_custom_columnstatic-block.php:217
filtermedia_buttonsstatic-block.php:318
actionadmin_footerstatic-block.php:319
actionwidgets_initwidget.php:137
Maintenance & Trust

Static Block Maintenance & Trust

Maintenance Signals

WordPress version tested5.7.15
Last updatedMar 10, 2021
PHP min version
Downloads18K

Community Trust

Rating92/100
Number of ratings5
Active installs2K
Developer Profile

Static Block Developer Profile

MohammadTanzilurRahman

2 plugins · 2K total installs

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

How We Detect Static Block

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/static-block/
Script Paths
/wp-content/plugins/static-block/widget.php

HTML / DOM Fingerprints

CSS Classes
portfolio_meta_controlfull-text
Data Attributes
name="tr_start_date"name="tr_start_date_hour"name="tr_start_date_minute"name="tr_end_date"name="tr_end_date_hour"name="tr_end_date_minute"
REST Endpoints
/wp-json/wp/v2/static-block
Shortcode Output
[static_block_content id="[static_block_thumbnail id="
FAQ

Frequently Asked Questions about Static Block