Auto SyntaxHighlighter Security & Risk Analysis

wordpress.org/plugins/auto-syntaxhighlighter

Auto SyntaxHighlighter is a WordPress Code highlight plugin. Use editor botton, in the pop-up window, paste or write your code, oh, very simple.

100 active installs v2.3.3 PHP + WP 2.6+ Updated May 7, 2012
codehighlightersourcecodesyntaxsyntaxhighlighter
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Auto SyntaxHighlighter Safe to Use in 2026?

Generally Safe

Score 85/100

Auto SyntaxHighlighter has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 13yr ago
Risk Assessment

The "auto-syntaxhighlighter" v2.3.3 plugin exhibits a mixed security posture. On one hand, the absence of known CVEs and a clean vulnerability history suggest a generally stable codebase over time. The plugin also demonstrates good practices by utilizing prepared statements for all SQL queries, which significantly mitigates the risk of SQL injection. Furthermore, there are no identified external HTTP requests or file operations that could be exploited for remote code execution or data exfiltration. The plugin also does not expose a large attack surface through AJAX handlers, REST API routes, or shortcodes, with all identified entry points properly secured.

However, there are several significant security concerns present in the static analysis results. The presence of the `create_function` construct is a critical red flag, as it is a deprecated and inherently insecure PHP function that can lead to code injection vulnerabilities if user-supplied data is incorporated into its execution context. Compounding this, the analysis indicates that 100% of outputs are not properly escaped, meaning any dynamic content rendered by the plugin is vulnerable to cross-site scripting (XSS) attacks. The lack of nonce checks, while not explicitly tied to an attack surface with AJAX or REST APIs, is a general security weakness that should be addressed for any plugin that might process user input.

In conclusion, while the plugin has a clean historical record and avoids common pitfalls like raw SQL and external requests, the identified use of `create_function` and the pervasive lack of output escaping represent substantial security risks. The potential for code injection and XSS vulnerabilities means that this plugin, despite its clean history, should be treated with caution until these issues are remediated.

Key Concerns

  • Use of dangerous function 'create_function'
  • Unescaped output
  • Missing nonce checks
Vulnerabilities
None known

Auto SyntaxHighlighter Security Vulnerabilities

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

Auto SyntaxHighlighter Code Analysis

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

Dangerous Functions Found

create_functionadd_action( 'wp_head', create_function('','$ash = new AutoSyntaxHighlighter();'));auto-syntaxhighlighter.php:119
create_functionadd_action('admin_notices', create_function('', 'echo \'<div id="message" class="error fade"><p><strauto-syntaxhighlighter.php:151
create_functionadd_action( 'plugins_loaded', create_function( '', '$wpash = new WpAsh;' ) );auto-syntaxhighlighter.php:168

Bundled Libraries

TinyMCE

Output Escaping

0% escaped1 total outputs
Attack Surface

Auto SyntaxHighlighter Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 15
filterthe_contentauto-syntaxhighlighter.php:69
actionwp_footerauto-syntaxhighlighter.php:70
actionwp_headauto-syntaxhighlighter.php:119
actionadmin_footer-post.phpauto-syntaxhighlighter.php:126
actionadmin_footer-post-new.phpauto-syntaxhighlighter.php:127
actionadmin_noticesauto-syntaxhighlighter.php:151
actionplugins_loadedauto-syntaxhighlighter.php:168
actioninittinymce\tinymce.php:9
filtermce_external_pluginstinymce\tinymce.php:22
filtermce_buttonstinymce\tinymce.php:23
filterwp_fullscreen_buttonstinymce\tinymce.php:28
actionadmin_print_styles-post.phptinymce\tinymce.php:29
actionadmin_print_styles-post-new.phptinymce\tinymce.php:30
actionadmin_print_styles-page.phptinymce\tinymce.php:31
actionadmin_print_styles-page-new.phptinymce\tinymce.php:32
Maintenance & Trust

Auto SyntaxHighlighter Maintenance & Trust

Maintenance Signals

WordPress version tested3.3.2
Last updatedMay 7, 2012
PHP min version
Downloads28K

Community Trust

Rating86/100
Number of ratings6
Active installs100
Developer Profile

Auto SyntaxHighlighter Developer Profile

digihero

1 plugin · 100 total installs

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

How We Detect Auto SyntaxHighlighter

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/auto-syntaxhighlighter/SyntaxHighlighter/build/scripts/core-min.js/wp-content/plugins/auto-syntaxhighlighter/SyntaxHighlighter/build/scripts/shBrushXml-min.js/wp-content/plugins/auto-syntaxhighlighter/SyntaxHighlighter/build/styles/shCore-min.css/wp-content/plugins/auto-syntaxhighlighter/SyntaxHighlighter/build/styles/shThemeDefault-min.css/wp-content/plugins/auto-syntaxhighlighter/SyntaxHighlighter/build/styles/shThemeDjango-min.css/wp-content/plugins/auto-syntaxhighlighter/SyntaxHighlighter/build/styles/shThemeEclipse-min.css/wp-content/plugins/auto-syntaxhighlighter/SyntaxHighlighter/build/styles/shThemeEmacs-min.css/wp-content/plugins/auto-syntaxhighlighter/SyntaxHighlighter/build/styles/shThemeFadeToGrey-min.css+3 more
Script Paths
/wp-content/plugins/auto-syntaxhighlighter/SyntaxHighlighter/build/scripts/core-min.js/wp-content/plugins/auto-syntaxhighlighter/SyntaxHighlighter/build/scripts/shBrushXml-min.js/wp-content/plugins/auto-syntaxhighlighter/SyntaxHighlighter/build/scripts/shBrushAppleScript-min.js/wp-content/plugins/auto-syntaxhighlighter/SyntaxHighlighter/build/scripts/shBrushXml-min.js/wp-content/plugins/auto-syntaxhighlighter/SyntaxHighlighter/build/scripts/shCore.js/wp-content/plugins/auto-syntaxhighlighter/SyntaxHighlighter/build/scripts/XRegExp.js+25 more
Version Parameters
auto-syntaxhighlighter/SyntaxHighlighter/build/scripts/core-min.js?ver=auto-syntaxhighlighter/SyntaxHighlighter/build/scripts/shBrushXml-min.js?ver=auto-syntaxhighlighter/SyntaxHighlighter/build/styles/shCore-min.css?ver=auto-syntaxhighlighter/SyntaxHighlighter/build/styles/shThemeDefault-min.css?ver=auto-syntaxhighlighter/SyntaxHighlighter/build/styles/shThemeDjango-min.css?ver=auto-syntaxhighlighter/SyntaxHighlighter/build/styles/shThemeEclipse-min.css?ver=auto-syntaxhighlighter/SyntaxHighlighter/build/styles/shThemeEmacs-min.css?ver=auto-syntaxhighlighter/SyntaxHighlighter/build/styles/shThemeFadeToGrey-min.css?ver=auto-syntaxhighlighter/SyntaxHighlighter/build/styles/shThemeMDUltra-min.css?ver=auto-syntaxhighlighter/SyntaxHighlighter/build/styles/shThemeMidnight-min.css?ver=auto-syntaxhighlighter/SyntaxHighlighter/build/styles/shThemeRDark-min.css?ver=auto-syntaxhighlighter/SyntaxHighlighter/build/scripts/shAutoloader.js?ver=auto-syntaxhighlighter/SyntaxHighlighter/build/scripts/shBrushAppleScript.js?ver=auto-syntaxhighlighter/SyntaxHighlighter/build/scripts/shBrushXml.js?ver=auto-syntaxhighlighter/SyntaxHighlighter/build/scripts/shCore.js?ver=auto-syntaxhighlighter/SyntaxHighlighter/build/scripts/XRegExp.js?ver=

HTML / DOM Fingerprints

HTML Comments
<!-- Auto SyntaxHighlighter --><!-- /Auto SyntaxHighlighter -->
JS Globals
SyntaxHighlighter.autoloader(SyntaxHighlighter.defaults['auto-links'] = false;SyntaxHighlighter.defaults['toolbar'] = false;SyntaxHighlighter.all();
FAQ

Frequently Asked Questions about Auto SyntaxHighlighter