WP Code Highlight Security & Risk Analysis

wordpress.org/plugins/wp-code-highlight

WP Code Highlight provides clean syntax highlighting and it also provides a code button.

200 active installs v1.2.9 PHP + WP 2.7+ Updated Aug 2, 2014
code-highlightsourcecodewordpress-code-highlightwp-codewp-code-highlight
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is WP Code Highlight Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 11yr ago
Risk Assessment

The "wp-code-highlight" v1.2.9 plugin exhibits a seemingly strong security posture based on the provided static analysis. There are no identified entry points like AJAX handlers, REST API routes, or shortcodes that are exposed to attackers, and importantly, none of these are unprotected. The absence of dangerous functions, file operations, external HTTP requests, and the use of prepared statements for its single SQL query are all positive indicators. The lack of any historical vulnerabilities further suggests a well-maintained and secure codebase.

However, a significant concern arises from the output escaping analysis. With 100% of its total outputs not being properly escaped, this plugin presents a high risk of Cross-Site Scripting (XSS) vulnerabilities. Any user-provided or dynamically generated content that is displayed by the plugin without proper sanitization and escaping is susceptible to malicious code injection. While the plugin has no historical vulnerabilities and a limited attack surface, this lack of output escaping is a critical flaw that could be exploited. The absence of nonce and capability checks on potential, albeit currently unidentified, entry points could also be a future risk if the plugin were to be extended.

Key Concerns

  • All outputs are unescaped
  • No capability checks on potential entry points
  • No nonce checks on potential entry points
Vulnerabilities
None known

WP Code Highlight Security Vulnerabilities

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

WP Code Highlight Release Timeline

v1.2.9Current
v1.2.8
v1.2.7
v1.2.6
v1.2.5
v1.2.4
v1.2.3
v1.2.2
v1.2.1
v1.2.0
v1.1.9
v1.1.8
v1.1.7
v1.1.6
Code Analysis
Analyzed Apr 16, 2026

WP Code Highlight Code Analysis

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

SQL Query Safety

100% prepared1 total queries

Output Escaping

0% escaped6 total outputs
Attack Surface

WP Code Highlight Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 10
filterinitwp-code-highlight.php:20
actionwp_headwp-code-highlight.php:40
actionget_footerwp-code-highlight.php:53
filterthe_contentwp-code-highlight.php:70
filtercomment_textwp-code-highlight.php:71
actionadmin_footerwp-code-highlight.php:77
actionadmin_enqueue_scriptswp-code-highlight.php:101
filterplugin_action_linkswp-code-highlight.php:136
actionadmin_initwp_code_highlight_admin.php:4
actionadmin_menuwp_code_highlight_admin.php:143
Maintenance & Trust

WP Code Highlight Maintenance & Trust

Maintenance Signals

WordPress version tested3.9.40
Last updatedAug 2, 2014
PHP min version
Downloads56K

Community Trust

Rating78/100
Number of ratings14
Active installs200
Developer Profile

WP Code Highlight Developer Profile

acalbert

1 plugin · 200 total installs

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

How We Detect WP Code Highlight

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wp-code-highlight/css/desert.css/wp-content/plugins/wp-code-highlight/css/sons-of-obsidian.css/wp-content/plugins/wp-code-highlight/css/sunburst.css/wp-content/plugins/wp-code-highlight/css/wp-code-highlight.css/wp-content/plugins/wp-code-highlight/js/wp-code-highlight-button.js/wp-content/plugins/wp-code-highlight/js/wp-code-highlight.js
Script Paths
/wp-content/plugins/wp-code-highlight/js/wp-code-highlight.js/wp-content/plugins/wp-code-highlight/js/wp-code-highlight-button.js

HTML / DOM Fingerprints

CSS Classes
wp-code-highlight
HTML Comments
<!--WP Code Highlight_start--><!--WP Code Highlight_end-->
JS Globals
wp_code_highlight_toolbarwp_code_highlight_tagedButtonsedButtonedCanvasedInsertTag+1 more
FAQ

Frequently Asked Questions about WP Code Highlight