Current Menu Item for Custom Post Types Security & Risk Analysis

wordpress.org/plugins/current-menu-item-for-custom-post-types

Allows you to highlight the current menu item by assigning a page to a custom post type.

2K active installs v1.6 PHP + WP 3.0+ Updated Nov 26, 2024
current-menu-itemcustom-post-types-menu-activehighlight-menumenu-activesingle-post
92
A · Safe
CVEs total1
Unpatched0
Last CVEOct 26, 2023
Download
Safety Verdict

Is Current Menu Item for Custom Post Types Safe to Use in 2026?

Generally Safe

Score 92/100

Current Menu Item for Custom Post Types has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: Oct 26, 2023Updated 1yr ago
Risk Assessment

The plugin "current-menu-item-for-custom-post-types" v1.6 demonstrates a generally positive security posture with a negligible attack surface and no identified critical or high-severity vulnerabilities in the static and taint analysis. The absence of AJAX handlers, REST API routes, shortcodes, and cron events significantly limits potential entry points for attackers. Furthermore, the code signals indicate the use of prepared statements for SQL queries, the presence of a nonce check, and a lack of dangerous function usage. However, the analysis does reveal a concerning rate of improperly escaped output (60%), which could lead to cross-site scripting (XSS) vulnerabilities if user-supplied data is not handled carefully. The vulnerability history shows a single medium-severity vulnerability of the Cross-Site Request Forgery (CSRF) type, which was addressed. While the current version appears to be free of unpatched vulnerabilities, the past CSRF issue and the ongoing output escaping concern warrant attention. Overall, the plugin has strengths in its limited attack surface and secure SQL practices but needs improvement in output sanitization to fully mitigate XSS risks.

Key Concerns

  • Significant portion of output not properly escaped
  • Past medium vulnerability (CSRF)
Vulnerabilities
1

Current Menu Item for Custom Post Types Security Vulnerabilities

CVEs by Year

1 CVE in 2023
2023
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

CVE-2023-46781medium · 4.3Cross-Site Request Forgery (CSRF)

Current Menu Item for Custom Post Types <= 1.5 - Cross-Site Request Forgery

Oct 26, 2023 Patched in 1.6 (89d)
Code Analysis
Analyzed Mar 16, 2026

Current Menu Item for Custom Post Types Code Analysis

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

Output Escaping

40% escaped15 total outputs
Attack Surface

Current Menu Item for Custom Post Types Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 5
actionadmin_menucurrent-menu-item-for-cpt.php:15
actionadmin_print_styles-settings_page_current-menu-item-cptcurrent-menu-item-for-cpt.php:21
actionadmin_initcurrent-menu-item-for-cpt.php:92
filterremovable_query_argscurrent-menu-item-for-cpt.php:100
filterwp_nav_menu_objectsinclude\filter.php:38
Maintenance & Trust

Current Menu Item for Custom Post Types Maintenance & Trust

Maintenance Signals

WordPress version tested6.7.5
Last updatedNov 26, 2024
PHP min version
Downloads25K

Community Trust

Rating100/100
Number of ratings23
Active installs2K
Developer Profile

Current Menu Item for Custom Post Types Developer Profile

Roland Murg

3 plugins · 42K total installs

73
trust score
Avg Security Score
92/100
Avg Patch Time
327 days
View full developer profile
Detection Fingerprints

How We Detect Current Menu Item for Custom Post Types

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/current-menu-item-for-custom-post-types/css/cmicpt-admin.css
Version Parameters
cmicpt-admin.css?ver=

HTML / DOM Fingerprints

CSS Classes
cmicpt-admin-css
Data Attributes
cmicpt_token
FAQ

Frequently Asked Questions about Current Menu Item for Custom Post Types