Blocks CSS: CSS Editor for Gutenberg Blocks Security & Risk Analysis

wordpress.org/plugins/blocks-css

Blocks CSS allows you add custom CSS to your Blocks straight from the Block Editor (Gutenberg).

5K active installs v3.1.8 PHP 5.4+ WP 6.2+ Updated Apr 1, 2026
blockblocks-csscsscss-editorgutenberg
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Blocks CSS: CSS Editor for Gutenberg Blocks Safe to Use in 2026?

Generally Safe

Score 100/100

Blocks CSS: CSS Editor for Gutenberg Blocks has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 1mo ago
Risk Assessment

The "blocks-css" plugin v3.1.5 exhibits a strong security posture based on the provided static analysis. The absence of AJAX handlers, REST API routes, shortcodes, and cron events significantly limits its attack surface, with no apparent entry points detected. Furthermore, the plugin demonstrates good coding practices by exclusively using prepared statements for SQL queries and avoiding file operations, external HTTP requests, and bundled libraries. The absence of any recorded vulnerabilities, both historical and current, further reinforces its secure standing.

However, a critical concern arises from the lack of output escaping. With one total output analyzed and 0% properly escaped, this presents a significant risk of Cross-Site Scripting (XSS) vulnerabilities. Attackers could potentially inject malicious scripts through the plugin's outputs, which could then be executed in the browser of unsuspecting users. The absence of nonce and capability checks, while potentially not a direct issue given the limited attack surface, represents a lack of defense-in-depth and could become a concern if the attack surface were to expand in future versions without corresponding security measures.

In conclusion, while "blocks-css" v3.1.5 benefits from a minimal attack surface and robust data handling for SQL, the critical flaw in output escaping is a major weakness. The clean vulnerability history is a positive indicator, but it does not mitigate the direct risk posed by unescaped outputs. Users should be aware of the XSS potential, even if the plugin has historically been secure.

Key Concerns

  • Unescaped output
  • Missing nonce checks
  • Missing capability checks
Vulnerabilities
None known

Blocks CSS: CSS Editor for Gutenberg Blocks Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

Blocks CSS: CSS Editor for Gutenberg Blocks Release Timeline

v3.1.8Current
v3.1.7
v3.1.6
v3.1.5
v3.1.4
v3.1.3
v3.1.2
v3.1.1
v3.1.0
v3.0.12
v3.0.11
v3.0.10
v3.0.9
v3.0.8
v3.0.7
v3.0.6
v3.0.5
v3.0.4
v3.0.3
v3.0.2
Code Analysis
Analyzed Mar 16, 2026

Blocks CSS: CSS Editor for Gutenberg Blocks Code Analysis

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

Output Escaping

0% escaped1 total outputs
Attack Surface

Blocks CSS: CSS Editor for Gutenberg Blocks Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 7
filterthemeisle_sdk_productsblocks-css.php:39
actionplugins_loadedblocks-css.php:48
filterthemeisle_sdk_blackfriday_datablocks-css.php:62
actionenqueue_block_editor_assetsclass-blocks-css.php:32
actionwp_headclass-blocks-css.php:33
actionwp_loadedclass-blocks-css.php:34
filterotter_blocks_cssclass-blocks-css.php:35
Maintenance & Trust

Blocks CSS: CSS Editor for Gutenberg Blocks Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedApr 1, 2026
PHP min version5.4
Downloads198K

Community Trust

Rating98/100
Number of ratings25
Active installs5K
Developer Profile

Blocks CSS: CSS Editor for Gutenberg Blocks Developer Profile

Hardeep Asrani

5 plugins · 101K total installs

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

How We Detect Blocks CSS: CSS Editor for Gutenberg Blocks

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/blocks-css/build/css/index.css/wp-content/plugins/blocks-css/build/css/index.js
Script Paths
/wp-content/plugins/blocks-css/build/css/index.js
Version Parameters
/wp-content/plugins/blocks-css/build/css/index.asset.php

HTML / DOM Fingerprints

Data Attributes
hasCustomCSScustomCSS
JS Globals
window.CodeMirrorblocksCSS
FAQ

Frequently Asked Questions about Blocks CSS: CSS Editor for Gutenberg Blocks