Smart WYSIWYG Blocks Of Content Security & Risk Analysis

wordpress.org/plugins/smart-wysiwyg-blocks-of-content

Adds a custom post type that can be easily inserted at multiple spots, including widgets. Easy way to create WYSIWYG widgets.

1K active installs v0.6.1 PHP + WP 3.0+ Updated Nov 28, 2017
widgetswysiwyg
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Smart WYSIWYG Blocks Of Content Safe to Use in 2026?

Generally Safe

Score 85/100

Smart WYSIWYG Blocks Of Content has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 8yr ago
Risk Assessment

The plugin "smart-wysiwyg-blocks-of-content" version 0.6.1 exhibits a mixed security posture. On the positive side, it demonstrates good practices by not making any external HTTP requests, performing file operations, or containing any known historical vulnerabilities. Furthermore, all detected SQL queries utilize prepared statements, and there are no detected taint flows, suggesting a low risk of remote code execution or data exfiltration through these common vectors. The limited attack surface with only one shortcode and no unprotected entry points is also a strong positive indicator.

However, significant concerns are raised by the code signals. The presence of the `create_function` is a critical security anti-pattern that can lead to arbitrary code execution if user-supplied input is passed to it without proper sanitization. Additionally, a substantial portion of the output (71%) is not properly escaped. This exposes the plugin to potential Cross-Site Scripting (XSS) vulnerabilities, where an attacker could inject malicious scripts into the content displayed by the plugin, which could then be executed in the context of a logged-in user's browser.

While the vulnerability history is clean, this can be attributed to the plugin's age and potentially its limited adoption. The lack of nonce checks and capability checks on its single entry point (the shortcode) is also a weakness, as it doesn't enforce user authentication or authorization for its functionality, potentially allowing unauthorized users to trigger its actions. In conclusion, the plugin has strengths in its limited attack surface and absence of known vulnerabilities, but the use of `create_function` and widespread unescaped output present substantial risks that overshadow these positives.

Key Concerns

  • Use of dangerous function 'create_function'
  • Low percentage of properly escaped output
  • Missing nonce checks on entry points
  • Missing capability checks on entry points
Vulnerabilities
None known

Smart WYSIWYG Blocks Of Content Security Vulnerabilities

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

Smart WYSIWYG Blocks Of Content Code Analysis

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

Dangerous Functions Found

create_functionadd_action( 'widgets_init', create_function( '', "register_widget( 'SWBOC_Widget' );" ) );includes\class-swboc-common.php:8

Output Escaping

29% escaped17 total outputs
Attack Surface

Smart WYSIWYG Blocks Of Content Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[smartblock] includes\class-swboc-front.php:10
WordPress Hooks 5
actionadmin_initincludes\class-swboc-admin.php:10
actioninitincludes\class-swboc-common.php:5
actionwidgets_initincludes\class-swboc-common.php:8
filterthe_contentincludes\class-swboc-front.php:37
filterthe_contentincludes\class-swboc-widget.php:32
Maintenance & Trust

Smart WYSIWYG Blocks Of Content Maintenance & Trust

Maintenance Signals

WordPress version tested4.2.39
Last updatedNov 28, 2017
PHP min version
Downloads32K

Community Trust

Rating100/100
Number of ratings4
Active installs1K
Developer Profile

Smart WYSIWYG Blocks Of Content Developer Profile

Coen Jacobs

6 plugins · 1K total installs

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

How We Detect Smart WYSIWYG Blocks Of Content

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/smart-wysiwyg-blocks-of-content/includes/class-swboc-admin.php/wp-content/plugins/smart-wysiwyg-blocks-of-content/includes/class-swboc-common.php/wp-content/plugins/smart-wysiwyg-blocks-of-content/includes/class-swboc-front.php

HTML / DOM Fingerprints

Shortcode Output
[smartblock
FAQ

Frequently Asked Questions about Smart WYSIWYG Blocks Of Content