Custom Posts Per Page Security & Risk Analysis

wordpress.org/plugins/custom-posts-per-page

Custom Posts Per Page provides a settings page in your WordPress admin that allows you to specify how many posts are displayed for different views.

900 active installs v1.7.1 PHP + WP 4.0+ Updated Dec 11, 2014
adminadministrationarchivesposts-per-pagesettings
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Custom Posts Per Page Safe to Use in 2026?

Generally Safe

Score 85/100

Custom Posts Per Page has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 11yr ago
Risk Assessment

The 'custom-posts-per-page' plugin version 1.7.1 exhibits a strong security posture based on the provided static analysis. There are no identified dangerous functions, SQL injection vulnerabilities due to the use of prepared statements, or file operations. The output escaping is also very high, with 96% of outputs properly escaped. Furthermore, the plugin has no recorded vulnerabilities or CVEs, indicating a history of stable and secure development. The attack surface is effectively zero, with no AJAX handlers, REST API routes, shortcodes, or cron events exposed without authentication or permission checks. This suggests diligent security practices by the developers.

However, a notable concern arises from the complete absence of nonce checks and capability checks. While the current analysis shows no direct vulnerabilities stemming from this, it represents a significant gap in WordPress security best practices. In the absence of these checks, if any new entry points were introduced or existing ones were overlooked during development, it could lead to potential unauthorized actions or privilege escalation. The taint analysis also shows zero flows, which is positive but could also be a reflection of the limited attack surface and potential for unanalyzed flows if the code were more complex.

In conclusion, the plugin is currently very secure, with no known vulnerabilities and a well-mitigated attack surface. The developers have clearly prioritized secure coding practices. The primary weakness lies in the lack of nonce and capability checks, which, while not currently exploited, introduces a theoretical risk that could be addressed by implementing these standard WordPress security measures.

Key Concerns

  • Missing Nonce Checks
  • Missing Capability Checks
Vulnerabilities
None known

Custom Posts Per Page Security Vulnerabilities

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

Custom Posts Per Page Code Analysis

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

Output Escaping

96% escaped50 total outputs
Attack Surface

Custom Posts Per Page Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 7
filterplugin_action_linkscustom-posts-per-page.php:73
actionadmin_initcustom-posts-per-page.php:75
actionadmin_initcustom-posts-per-page.php:76
actionadmin_initcustom-posts-per-page.php:77
actionadmin_menucustom-posts-per-page.php:79
actionpre_get_postscustom-posts-per-page.php:82
filterfound_postscustom-posts-per-page.php:456
Maintenance & Trust

Custom Posts Per Page Maintenance & Trust

Maintenance Signals

WordPress version tested4.1.42
Last updatedDec 11, 2014
PHP min version
Downloads37K

Community Trust

Rating96/100
Number of ratings12
Active installs900
Developer Profile

Custom Posts Per Page Developer Profile

Jeremy Felt

5 plugins · 1K total installs

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

How We Detect Custom Posts Per Page

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/custom-posts-per-page/css/settings.css/wp-content/plugins/custom-posts-per-page/js/settings.js
Script Paths
/wp-content/plugins/custom-posts-per-page/js/settings.js
Version Parameters
custom-posts-per-page/css/settings.css?ver=custom-posts-per-page/js/settings.js?ver=

HTML / DOM Fingerprints

FAQ

Frequently Asked Questions about Custom Posts Per Page