CodeColorer Security & Risk Analysis

wordpress.org/plugins/codecolorer

Syntax highlighting for code snippets in posts, comments, and RSS, with inline code, themes, and line numbers.

1K active installs v0.11.0 PHP 7.0+ WP 4.0+ Updated Mar 14, 2026
codecommentshighlightingsnippetsyntax
95
A · Safe
CVEs total3
Unpatched0
Last CVEApr 15, 2026
Safety Verdict

Is CodeColorer Safe to Use in 2026?

Generally Safe

Score 95/100

CodeColorer has a strong security track record. Known vulnerabilities have been patched promptly. It's a solid choice for most WordPress installations.

3 known CVEsLast CVE: Apr 15, 2026Updated 2mo ago
Risk Assessment

The "codecolorer" plugin, version 0.11.0, exhibits a mixed security posture. On the positive side, the static analysis reveals an extremely small attack surface with no apparent AJAX handlers, REST API routes, shortcodes, or cron events. The code also demonstrates good practices regarding SQL queries, exclusively using prepared statements, and generally strong output escaping (93%). Nonce and capability checks are present, indicating some security awareness in the development. However, the presence of one unpatched high-severity vulnerability, identified as Cross-Site Scripting, is a significant concern. This historical pattern of vulnerabilities, particularly XSS, suggests potential weaknesses in input sanitization or output encoding for certain edge cases that have been exploited in the past.

While the current static analysis doesn't flag critical taint flows or dangerous functions, the existence of past XSS vulnerabilities, coupled with the fact that one remains unpatched, points to a residual risk. The single file operation, though not inherently dangerous, warrants a quick review to ensure it's not a vector for further issues. The inclusion of TinyMCE as a bundled library, if not kept up-to-date by the plugin author, could also introduce risks, although this is not explicitly flagged as an issue in the provided data. Overall, the plugin has strengths in its limited attack surface and prepared SQL, but the unpatched XSS vulnerability is a clear and present danger that overshadows these positives.

Key Concerns

  • Unpatched high-severity CVE
  • Known XSS vulnerability history
  • Bundled library (TinyMCE)
Vulnerabilities
3 published

CodeColorer Security Vulnerabilities

CVEs by Year

1 CVE in 2023
2023
1 CVE in 2025
2025
1 CVE in 2026
2026
Patched Has unpatched

Severity Breakdown

High
1
Medium
2

3 total CVEs

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

CodeColorer <= 0.10.1 - Unauthenticated Stored Cross-Site Scripting via 'class' attribute in 'cc' Comment Shortcode

Apr 15, 2026 Patched in 0.10.2 (1d)
CVE-2025-68012high · 7.2Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CodeColorer <= 0.10.1 - Unauthenticated Stored Cross-Site Scripting

Dec 30, 2025 Patched in 0.10.2 (78d)
CVE-2023-2795medium · 4.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CodeColorer <= 0.10.0 - Authenticated (Administrator+) Stored Cross-Site Scripting

Jun 5, 2023 Patched in 0.10.1 (232d)
Code Analysis
Analyzed Mar 16, 2026

CodeColorer Code Analysis

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

Bundled Libraries

TinyMCE

Output Escaping

93% escaped41 total outputs
Data Flows · Security
All sanitized

Data Flow Analysis

2 flows
dismissNotice (codecolorer.php:213)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

CodeColorer Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 23
actionadmin_initcodecolorer.php:86
actionadmin_menucodecolorer.php:89
actionadmin_post_codecolorer_dismiss_noticecodecolorer.php:92
actionadmin_enqueue_scriptscodecolorer.php:95
actionwp_enqueue_scriptscodecolorer.php:96
actionadmin_noticescodecolorer.php:100
filterplugin_row_metacodecolorer.php:107
filterthe_contentcodecolorer.php:110
filterthe_contentcodecolorer.php:111
filterthe_excerptcodecolorer.php:112
filterthe_excerptcodecolorer.php:113
filtercomment_textcodecolorer.php:114
filtercomment_textcodecolorer.php:115
filterbook_reviewcodecolorer.php:116
filterbook_reviewcodecolorer.php:117
filterpre_comment_contentcodecolorer.php:120
filterpre_comment_contentcodecolorer.php:121
filtertablepress_cell_contentcodecolorer.php:124
filtertablepress_cell_contentcodecolorer.php:125
filtersdm_downloads_descriptioncodecolorer.php:128
filtersdm_downloads_descriptioncodecolorer.php:129
filtertiny_mce_before_initcodecolorer.php:163
filterteeny_mce_before_initcodecolorer.php:164
Maintenance & Trust

CodeColorer Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedMar 14, 2026
PHP min version7.0
Downloads126K

Community Trust

Rating98/100
Number of ratings11
Active installs1K
Developer Profile

CodeColorer Developer Profile

Dmytro Shteflyuk

3 plugins · 1K total installs

71
trust score
Avg Security Score
88/100
Avg Patch Time
104 days
View full developer profile
Detection Fingerprints

How We Detect CodeColorer

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/codecolorer/codecolorer-admin.css/wp-content/plugins/codecolorer/codecolorer-frontend.css/wp-content/plugins/codecolorer/js/codecolorer-admin.js/wp-content/plugins/codecolorer/js/codecolorer-frontend.js
Script Paths
/wp-content/plugins/codecolorer/js/codecolorer-admin.js/wp-content/plugins/codecolorer/js/codecolorer-frontend.js
Version Parameters
codecolorer/codecolorer-admin.css?ver=codecolorer/codecolorer-frontend.css?ver=codecolorer/js/codecolorer-admin.js?ver=codecolorer/js/codecolorer-frontend.js?ver=

HTML / DOM Fingerprints

HTML Comments
Copyright 2006 - 2026 Dmytro Shteflyuk <kpumuk@kpumuk.info>This program is free software; you can redistribute it and/or modifyThis program is distributed in the hope that it will be useful,You should have received a copy of the GNU General Public License+21 more
Data Attributes
data-codecolorer-language
JS Globals
codecolorer_admin_scriptcodecolorer_frontend_script
FAQ

Frequently Asked Questions about CodeColorer