Prettify GC Syntax Highlighter Security & Risk Analysis

wordpress.org/plugins/prettify-gc-syntax-highlighter

Your code will look exactly like it does on google-code.

20 active installs v1.6.0 PHP + WP 3.0.5+ Updated Aug 28, 2012
google-codeprettifyprettify-jssyntax-highlighter
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Prettify GC Syntax Highlighter Safe to Use in 2026?

Generally Safe

Score 85/100

Prettify GC Syntax Highlighter 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 static analysis of prettify-gc-syntax-highlighter v1.6.0 reveals a generally strong security posture. The plugin demonstrates excellent practices by avoiding dangerous functions, utilizing prepared statements for all SQL queries, and ensuring all outputs are properly escaped. Furthermore, the absence of file operations and external HTTP requests minimizes potential attack vectors. The plugin also has a clean vulnerability history with no known CVEs, suggesting a commitment to secure coding over time.

However, a key area of concern is the lack of security checks on its entry points. With one shortcode identified as an entry point, the absence of nonce checks or capability checks means that any user, regardless of their role or logged-in status, could potentially trigger its functionality. While the code analysis shows no immediate exploitable vulnerabilities within the shortcode's implementation itself, this lack of authorization leaves it open to potential abuse, such as denial-of-service attacks or unintended side effects if the shortcode's output is later processed in an unsafe manner. The plugin's small attack surface and clean history are positives, but the missing authorization on the shortcode is a notable weakness that should be addressed.

Key Concerns

  • Missing nonce/capability checks on shortcode
Vulnerabilities
None known

Prettify GC Syntax Highlighter Security Vulnerabilities

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

Prettify GC Syntax Highlighter Code Analysis

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

Prettify GC Syntax Highlighter Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[code] prettify-gc-syntax-highlighter.php:50
WordPress Hooks 3
actioninitprettify-gc-syntax-highlighter.php:22
filterthe_contentprettify-gc-syntax-highlighter.php:65
filterthe_contentprettify-gc-syntax-highlighter.php:71
Maintenance & Trust

Prettify GC Syntax Highlighter Maintenance & Trust

Maintenance Signals

WordPress version tested3.4.2
Last updatedAug 28, 2012
PHP min version
Downloads9K

Community Trust

Rating86/100
Number of ratings3
Active installs20
Developer Profile

Prettify GC Syntax Highlighter Developer Profile

lexn

1 plugin · 20 total installs

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

How We Detect Prettify GC Syntax Highlighter

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/prettify-gc-syntax-highlighter/prettify.css/wp-content/plugins/prettify-gc-syntax-highlighter/prettify.js/wp-content/plugins/prettify-gc-syntax-highlighter/launch.js
Script Paths
/wp-content/plugins/prettify-gc-syntax-highlighter/prettify.js/wp-content/plugins/prettify-gc-syntax-highlighter/launch.js

HTML / DOM Fingerprints

CSS Classes
prettyprintlang-default-markuplinenumslinenumstriggerhighlightdontquote
Data Attributes
style='background-color: $background;'
Shortcode Output
<pre class='prettyprint lang- dontquote prettyprint lang- prettyprint lang- linenums
FAQ

Frequently Asked Questions about Prettify GC Syntax Highlighter