
Attributes for Blocks Security & Risk Analysis
wordpress.org/plugins/attributes-for-blocksAllows to add HTML attributes to Gutenberg blocks.
Is Attributes for Blocks Safe to Use in 2026?
Generally Safe
Score 99/100Attributes for Blocks has a strong security track record. Known vulnerabilities have been patched promptly.
The static analysis of the "attributes-for-blocks" plugin v1.0.13 reveals a strong security posture in its current codebase. There are no identified attack vectors through AJAX handlers, REST API routes, shortcodes, or cron events, and crucially, none of these entry points are left unprotected. The code also demonstrates good practices by not using dangerous functions, all SQL queries are prepared, and all output is properly escaped. The absence of file operations and external HTTP requests further strengthens its security profile. The presence of a capability check is also a positive sign.
However, the plugin has a history of one known CVE, which was a medium-severity Cross-Site Scripting (XSS) vulnerability, last patched on September 3, 2024. While this specific version is not currently unpatched, the past existence of an XSS vulnerability warrants ongoing vigilance. The taint analysis showing zero flows with unsanitized paths is reassuring for the current version, but the past vulnerability suggests that input sanitization and output escaping, particularly for user-supplied data that might be rendered on the frontend, should remain a focus area.
In conclusion, the "attributes-for-blocks" plugin exhibits a good overall security foundation in its current release, with no apparent vulnerabilities in the analyzed attack surface or code signals. The past XSS vulnerability, though patched, is the primary point of caution, highlighting the importance of continuous security reviews and thorough testing for any user-facing output. The plugin's strengths lie in its limited attack surface and adherence to secure coding practices like prepared statements and output escaping.
Key Concerns
- Past medium severity XSS vulnerability (CVE)
Attributes for Blocks Security Vulnerabilities
CVEs by Year
Severity Breakdown
1 total CVE
Attributes for Blocks <= 1.0.6 - Authenticated (Contributor+) Stored Cross-Site Scripting via attributesForBlocks Parameter
Attributes for Blocks Code Analysis
Attributes for Blocks Attack Surface
WordPress Hooks 5
Maintenance & Trust
Attributes for Blocks Maintenance & Trust
Maintenance Signals
Community Trust
Attributes for Blocks Alternatives
JetStyleManager for Gutenberg
jet-style-manager
A plugin that extends Gutenberg functionality. Integrated to a Gutenberg plugin, JetStyleManager allows adding styles to it.
Block Designer – Create Custom Blocks for Gutenberg Editor
block-designer
Create and design custom blocks for the WordPress Gutenberg Block Editor without any line of code.
MRW Simplified Editor
mrw-web-design-simple-tinymce
Focus editors on making great content and letting their themes make it beautiful by removing block editor features.
Super Blocks CSS – Custom CSS for Gutenberg Blocks
super-custom-css
Add custom CSS to your Gutenberg blocks directly from the block editor.
Block Style Modifiers
block-style-modifiers
Add multiple block styles to Gutenberg blocks with ease.
Attributes for Blocks Developer Profile
4 plugins · 16K total installs
How We Detect Attributes for Blocks
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/attributes-for-blocks/build/style-index.css/wp-content/plugins/attributes-for-blocks/build/index.js/wp-content/plugins/attributes-for-blocks/build/index.asset.phpattributes-for-blocks?ver=plugins/attributes-for-blocks/build/style-index.css?ver=plugins/attributes-for-blocks/build/index.js?ver=HTML / DOM Fingerprints
attributesForBlocksafbData