Syntax Highlighter Compress Security & Risk Analysis

wordpress.org/plugins/syntax-highlighter-compress

Syntax Highlighter ComPress is a plugin for code syntax highlighting. It loads fast on the website and code can pasted easily into Wordpress.

100 active installs v3.0.83.3 PHP + WP 2.6+ Updated Nov 28, 2011
codehighlighthighlightersyntaxsyntaxhighlighter
63
C · Use Caution
CVEs total1
Unpatched1
Last CVEJan 16, 2026
Safety Verdict

Is Syntax Highlighter Compress Safe to Use in 2026?

Use With Caution

Score 63/100

Syntax Highlighter Compress has 1 unpatched vulnerability. Evaluate alternatives or apply available mitigations.

1 known CVE 1 unpatched Last CVE: Jan 16, 2026Updated 14yr ago
Risk Assessment

The "syntax-highlighter-compress" plugin, version 3.0.83.3, exhibits a mixed security posture. While it boasts zero direct attack surface entry points (AJAX, REST API, shortcodes, cron events) that are unprotected, and all SQL queries appear to use prepared statements, several critical code signals raise significant concerns. The presence of the `create_function` function is a red flag, as it can be a source of code injection vulnerabilities if not handled with extreme care. Furthermore, the fact that 100% of its output is not properly escaped is a severe security flaw, paving the way for Cross-Site Scripting (XSS) attacks. The taint analysis also indicates a flow with unsanitized paths, which, despite not being classified as critical or high severity, still represents a potential risk of data manipulation or leakage.

The plugin's vulnerability history is particularly alarming. It has a known CVE with a medium severity, and critically, this vulnerability remains unpatched. The common vulnerability type being XSS reinforces the concerns identified in the static analysis regarding improper output escaping. The fact that the last vulnerability was recorded in the future (2026-01-16) is an anomaly that might indicate a data entry error, but it doesn't negate the presence of an existing, unpatched medium vulnerability. The plugin has a documented history of XSS, and its current code indicates a persistent weakness in output sanitization, making it susceptible to similar attacks.

In conclusion, while the plugin does not present a large direct attack surface and employs prepared statements for database operations, the substantial lack of output escaping, the use of `create_function`, and the existing unpatched XSS vulnerability paint a concerning picture. The potential for XSS attacks is high due to the unescaped output, and the unpatched CVE signifies an immediate risk to users. The plugin has demonstrable weaknesses in input sanitization and output encoding that have led to past vulnerabilities and continue to be a significant concern in its current state.

Key Concerns

  • Unpatched Medium CVE
  • 100% of outputs not properly escaped
  • Taint flow with unsanitized paths
  • Dangerous function: create_function
Vulnerabilities
1

Syntax Highlighter Compress Security Vulnerabilities

CVEs by Year

1 CVE in 2026 · unpatched
2026
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

CVE-2025-68859medium · 6.1Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Syntax Highlighter Compress <= 3.0.83.3 - Reflected Cross-Site Scripting

Jan 16, 2026Unpatched
Code Analysis
Analyzed Mar 16, 2026

Syntax Highlighter Compress Code Analysis

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

Dangerous Functions Found

create_functionadd_action('admin_notices', create_function('', 'echo \'<div id="message" class="error fade"><p><strsyntax-highlighter-compress.php:33
create_functionadd_action('plugins_loaded', create_function( '', 'global $wp_shc; $wp_shc = new wp_shc();' ) );syntax-highlighter-compress.php:418

Bundled Libraries

TinyMCE

Output Escaping

0% escaped40 total outputs
Data Flows
1 unsanitized

Data Flow Analysis

2 flows1 with unsanitized paths
shc_options_subpanel (syntax-highlighter-compress.php:83)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Syntax Highlighter Compress Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 10
actionadmin_noticessyntax-highlighter-compress.php:33
filterplugin_action_linkssyntax-highlighter-compress.php:76
actionplugins_loadedsyntax-highlighter-compress.php:418
actionadmin_menusyntax-highlighter-compress.php:420
actionwp_headsyntax-highlighter-compress.php:423
actionwp_footersyntax-highlighter-compress.php:424
filtertiny_mce_versiontinymce\tinymce.php:9
actioninittinymce\tinymce.php:12
filtermce_external_pluginstinymce\tinymce.php:24
filtermce_buttonstinymce\tinymce.php:25
Maintenance & Trust

Syntax Highlighter Compress Maintenance & Trust

Maintenance Signals

WordPress version tested3.2.1
Last updatedNov 28, 2011
PHP min version
Downloads24K

Community Trust

Rating96/100
Number of ratings5
Active installs100
Developer Profile

Syntax Highlighter Compress Developer Profile

agmorpheus

1 plugin · 100 total installs

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

How We Detect Syntax Highlighter Compress

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/syntax-highlighter-compress/scripts/shCore.js/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushXml.js/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushSql.js/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushPlain.js/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushPerl.js/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushPhp.js/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushPython.js/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushRuby.js+15 more
Script Paths
/wp-content/plugins/syntax-highlighter-compress/scripts/shCore.js/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushXml.js/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushSql.js/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushPlain.js/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushPerl.js/wp-content/plugins/syntax-highlighter-compress/scripts/shBrushPhp.js+9 more
Version Parameters
syntax-highlighter-compress/scripts/shCore.js?ver=syntax-highlighter-compress/styles/shCore.css?ver=

HTML / DOM Fingerprints

CSS Classes
syntaxhighlighter-compress
JS Globals
sh_mainSyntaxHighlighter
FAQ

Frequently Asked Questions about Syntax Highlighter Compress