Code View Security & Risk Analysis

wordpress.org/plugins/code-view

Easily use highlightjs and line-numbers to syntax-highlighted sample code on your blog posts

10 active installs v0.0.5 PHP + WP 4.2.3+ Updated Feb 7, 2018
codehtmlphpsourcecodexhtml
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Code View Safe to Use in 2026?

Generally Safe

Score 85/100

Code View 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 "code-view" plugin v0.0.5 exhibits a generally positive security posture, adhering to several good practices. Notably, there are no recorded vulnerabilities (CVEs) or critical findings from taint analysis, suggesting a lack of exploitable flaws based on historical data and code scanning. The absence of dangerous functions, file operations, and external HTTP requests is also a strength.

However, a significant concern arises from the complete lack of output escaping across all identified outputs. This means that any data displayed to users, especially if it originates from user input or external sources, is susceptible to cross-site scripting (XSS) attacks. Furthermore, the plugin lacks nonce and capability checks for its entry points, including shortcodes. While the attack surface is small (two shortcodes) and there are no unprotected AJAX or REST API endpoints, the absence of these essential security measures on the shortcodes themselves could allow for unauthorized execution or manipulation if their functionality is sensitive or relies on authenticated user actions.

In conclusion, while the plugin benefits from a clean vulnerability history and avoidance of several high-risk code patterns, the critical deficiency in output escaping and the missing authorization checks on shortcodes present exploitable weaknesses. These issues require immediate attention to mitigate potential XSS and privilege escalation risks.

Key Concerns

  • Output escaping is missing on all outputs
  • Missing capability checks on shortcodes
  • Missing nonce checks on shortcodes
Vulnerabilities
None known

Code View Security Vulnerabilities

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

Code View Release Timeline

v0.0.5Current
v0.0.4
v0.0.3
v0.0.2
v0.0.1
Code Analysis
Analyzed Mar 17, 2026

Code View Code Analysis

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

Output Escaping

0% escaped7 total outputs
Attack Surface

Code View Attack Surface

Entry Points2
Unprotected0

Shortcodes 2

[cv] code-view\code-view.php:54
[cv] code-view.php:211
WordPress Hooks 3
actionadmin_initcode-view.php:121
actionadmin_menucode-view.php:122
actioninitcode-view.php:250
Maintenance & Trust

Code View Maintenance & Trust

Maintenance Signals

WordPress version tested4.9.29
Last updatedFeb 7, 2018
PHP min version
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Code View Developer Profile

zach2825

1 plugin · 10 total installs

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

How We Detect Code View

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/code-view/assets/highlight/styles/default.css/wp-content/plugins/code-view/assets/css/code-view.css/wp-content/plugins/code-view/assets/highlight/styles/atom-one-light.css/wp-content/plugins/code-view/assets/highlight/highlight.pack.js/wp-content/plugins/code-view/assets/js/line-numbers.min.js/wp-content/plugins/code-view/assets/js/register.js
Script Paths
/wp-content/plugins/code-view/assets/highlight/highlight.pack.js/wp-content/plugins/code-view/assets/js/line-numbers.min.js/wp-content/plugins/code-view/assets/js/register.js
Version Parameters
code-view/style.css?ver=code-view/script.js?ver=

HTML / DOM Fingerprints

Shortcode Output
[cv][/cv]
FAQ

Frequently Asked Questions about Code View