Code Snippets in Comments Security & Risk Analysis

wordpress.org/plugins/code-snippets-in-comments

Code Snippets in Comments plugin extends the Comments function by show code in highlighting without modifying the saving of comments in database.

0 active installs v0.9 PHP 5.6.20+ WP 5.0+ Updated May 22, 2020
codecode-highlightingcode-syntaxcommentssyntax-highlight
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Code Snippets in Comments Safe to Use in 2026?

Generally Safe

Score 85/100

Code Snippets in Comments has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 5yr ago
Risk Assessment

The 'code-snippets-in-comments' plugin v0.9 exhibits a generally strong security posture based on the provided static analysis. There are no identified dangerous functions, file operations, external HTTP requests, or vulnerabilities in the vulnerability history. The use of prepared statements for all SQL queries is a significant positive security practice. However, the analysis does reveal a concerning weakness in output escaping, with only 30% of outputs being properly escaped. This could lead to cross-site scripting (XSS) vulnerabilities if user-supplied data is not sufficiently sanitized before being displayed. Furthermore, the complete absence of nonce checks and capability checks across all entry points, although the entry points themselves are reported as zero, suggests a potential for vulnerabilities if new entry points are introduced or if the attack surface reporting is incomplete. The lack of taint analysis results might indicate a limited scope of analysis or that the tool did not find any flows to analyze, which is positive but doesn't negate the existing concerns.

While the plugin has no known historical vulnerabilities, the identified output escaping issue requires attention. The lack of authentication and authorization checks on potential entry points is a significant concern that could be exploited if the plugin's functionality were to expand or if an attacker found a way to trigger existing code paths in an unintended manner. The absence of these fundamental security mechanisms, even with a current zero attack surface, represents a latent risk. Therefore, while the plugin is not exhibiting overt vulnerabilities from historical data or critical code signals, the unaddressed output escaping and potential lack of authentication/authorization mechanisms present areas for improvement to ensure a more robust security profile.

Key Concerns

  • Low percentage of properly escaped output
  • Missing nonce checks on entry points
  • Missing capability checks on entry points
Vulnerabilities
None known

Code Snippets in Comments Security Vulnerabilities

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

Code Snippets in Comments Code Analysis

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

SQL Query Safety

100% prepared3 total queries

Output Escaping

30% escaped10 total outputs
Attack Surface

Code Snippets in Comments Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 13
actionadmin_initcode-snippets-in-comments.php:59
actionadmin_initcode-snippets-in-comments.php:60
actionadmin_noticescode-snippets-in-comments.php:63
actionadmin_noticescode-snippets-in-comments.php:128
actionadmin_noticescode-snippets-in-comments.php:185
filtercomment_textincludes\code-snippets-in-comments-core.php:12
actioncomment_form_topincludes\code-snippets-in-comments-core.php:15
actionwp_footerincludes\code-snippets-in-comments-core.php:18
actionwp_headincludes\code-snippets-in-comments-core.php:21
actionwp_enqueue_scriptsincludes\code-snippets-in-comments-core.php:30
actionenqueue_block_assetsincludes\code-snippets-in-comments-core.php:35
actionwp_enqueue_scriptsincludes\code-snippets-in-comments-core.php:42
filtermkaz_code_syntax_force_loadingincludes\code-snippets-in-comments-core.php:78
Maintenance & Trust

Code Snippets in Comments Maintenance & Trust

Maintenance Signals

WordPress version tested5.4.19
Last updatedMay 22, 2020
PHP min version5.6.20
Downloads1K

Community Trust

Rating0/100
Number of ratings0
Active installs0
Developer Profile

Code Snippets in Comments Developer Profile

yannyann

1 plugin · 0 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 Snippets in Comments

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/code-snippets-in-comments/assets/css/custom.css/wp-content/plugins/code-snippets-in-comments/assets/js/scripts.js
Script Paths
/wp-content/plugins/code-snippets-in-comments/assets/js/scripts.js
Version Parameters
code-snippets-in-comments/assets/css/custom.css?ver=code-snippets-in-comments/assets/js/scripts.js?ver=

HTML / DOM Fingerprints

CSS Classes
yann-comment-snippet-wrapper
Data Attributes
data-language
JS Globals
YANN_CODE_S_I_COMMENTS_VER
Shortcode Output
[code_snippet]
FAQ

Frequently Asked Questions about Code Snippets in Comments