Xhtheme Code Block Security & Risk Analysis

wordpress.org/plugins/xhtheme-code-block

A plugin to add code blocks with syntax highlighting to your WordPress site, and adapt to the theme's light and dark mode switching.

10 active installs v1.0.2 PHP 7.2+ WP 5.0+ Updated Sep 3, 2025
blockcodedark-modegutenbergsyntax-highlighting
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Xhtheme Code Block Safe to Use in 2026?

Generally Safe

Score 100/100

Xhtheme Code Block has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 7mo ago
Risk Assessment

The 'xhtheme-code-block' plugin v1.0.2 exhibits a generally strong security posture based on the provided static analysis. The absence of dangerous functions, file operations, and external HTTP requests is a significant positive. All SQL queries are properly prepared, and the vast majority of output is correctly escaped, mitigating common web application vulnerabilities. The presence of nonce and capability checks on its sole AJAX handler indicates a good understanding of WordPress security best practices for handling user-initiated actions.

Furthermore, the plugin has no known historical vulnerabilities, which is an excellent sign. This lack of past issues, combined with the clean static analysis results, suggests a well-developed and secure codebase. The taint analysis also reveals no concerning flows, reinforcing the perception of a low-risk plugin. The minimal attack surface, consisting of a single, authenticated AJAX handler, is also a strength, as it reduces the potential for exploitation.

While the plugin's current security appears robust, it's important to acknowledge that static analysis is a snapshot in time. Ongoing vigilance and regular updates are always recommended. However, based on the data presented, 'xhtheme-code-block' v1.0.2 appears to be a secure and well-maintained plugin with minimal apparent risks.

Vulnerabilities
None known

Xhtheme Code Block Security Vulnerabilities

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

Xhtheme Code Block Code Analysis

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

Output Escaping

95% escaped21 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
xhtheme_code_block_save_settings (admin\settings.php:19)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Xhtheme Code Block Attack Surface

Entry Points1
Unprotected0

AJAX Handlers 1

authwp_ajax_xhtheme_save_settingsadmin\settings.php:4
WordPress Hooks 7
actionadmin_menuadmin\settings.php:2
actionadmin_enqueue_scriptsadmin\settings.php:3
actioninitxhtheme-code-block.php:27
actionwp_enqueue_scriptsxhtheme-code-block.php:28
filterwp_kses_allowed_htmlxhtheme-code-block.php:29
actionplugins_loadedxhtheme-code-block.php:31
filterthe_contentxhtheme-code-block.php:32
Maintenance & Trust

Xhtheme Code Block Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedSep 3, 2025
PHP min version7.2
Downloads664

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Xhtheme Code Block Developer Profile

xhtheme

2 plugins · 210 total installs

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

How We Detect Xhtheme Code Block

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/xhtheme-code-block/assets/css/prism.css/wp-content/plugins/xhtheme-code-block/assets/js/prism.js
Script Paths
/wp-content/plugins/xhtheme-code-block/build/block.json
Version Parameters
xhtheme-prism-stylexhtheme-prism-js

HTML / DOM Fingerprints

CSS Classes
xhtheme-codestyle-defaultxhtheme-codestyle-minimalxhtheme-codestyle-meteorxhtheme-codestyle-contrastxhtheme-codestyle-classicxhtheme-codestyle-elegantxhtheme-code-darkxhtheme-code-light+1 more
Data Attributes
data-prismjs-copydata-prismjs-copy-successdata-prismjs-copy-error
JS Globals
xhtheme_codeblockxhtheme_code_settings
FAQ

Frequently Asked Questions about Xhtheme Code Block