WP-PageNavi Security & Risk Analysis

wordpress.org/plugins/wp-pagenavi

Adds a more advanced paging navigation interface.

500K active installs v2.94.5 PHP + WP 4.6+ Updated Dec 19, 2024
navigationpagespaginationpaging
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is WP-PageNavi Safe to Use in 2026?

Generally Safe

Score 92/100

WP-PageNavi has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 1yr ago
Risk Assessment

The wp-pagenavi plugin v2.94.5 demonstrates a relatively strong security posture in terms of its attack surface and known vulnerability history. It reports zero AJAX handlers, REST API routes, shortcodes, or cron events that are unprotected, indicating a well-defined and contained entry point. The absence of any recorded CVEs, either historical or current, is a significant positive indicator of its stability and security over time. However, the static analysis reveals some concerning code-level practices that offset these strengths.

The primary concern stems from the database interactions. All four identified SQL queries are executed without prepared statements, which presents a significant risk of SQL injection vulnerabilities if any of the input feeding these queries is not meticulously sanitized. Furthermore, the taint analysis highlights four flows with unsanitized paths, all classified as high severity. This, combined with the raw SQL queries, strongly suggests that these unsanitized inputs are being directly incorporated into SQL statements.

While the plugin includes nonce checks and a reasonable percentage of output escaping, the critical findings in the taint analysis and the complete lack of prepared statements for SQL queries are major weaknesses. The vulnerability history is reassuring, but it doesn't negate the immediate risks identified in the code. In conclusion, the plugin's lack of exposed entry points and historical CVEs are strengths, but the presence of high-severity taint flows and raw SQL queries creates a substantial risk that requires immediate attention.

Key Concerns

  • High severity taint flows found
  • SQL queries without prepared statements
  • Low output escaping percentage (49%)
Vulnerabilities
None known

WP-PageNavi Security Vulnerabilities

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

WP-PageNavi Code Analysis

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

SQL Query Safety

0% prepared4 total queries

Output Escaping

49% escaped39 total outputs
Data Flows
4 unsanitized

Data Flow Analysis

4 flows4 with unsanitized paths
form_handler (scb\AdminPage.php:225)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

WP-PageNavi Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 13
actionwp_enqueue_scriptscore.php:318
action_admin_menuscb\AdminPage.php:62
actionadmin_initscb\AdminPage.php:135
actionadmin_menuscb\AdminPage.php:138
actionadmin_noticesscb\AdminPage.php:245
filtercron_schedulesscb\Cron.php:61
actionactivate_pluginscb\load.php:39
actioninitscb\load.php:45
actionload-post.phpscb\PostMetabox.php:64
actionload-post-new.phpscb\PostMetabox.php:65
actionadd_meta_boxesscb\PostMetabox.php:86
actionsave_postscb\PostMetabox.php:87
actionwidgets_initscb\Widget.php:31
Maintenance & Trust

WP-PageNavi Maintenance & Trust

Maintenance Signals

WordPress version tested6.7.5
Last updatedDec 19, 2024
PHP min version
Downloads13.3M

Community Trust

Rating94/100
Number of ratings149
Active installs500K
Developer Profile

WP-PageNavi Developer Profile

Lester Chan

20 plugins · 889K total installs

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

How We Detect WP-PageNavi

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wp-pagenavi/style.css
Version Parameters
wp-pagenavi/style.css?ver=

HTML / DOM Fingerprints

CSS Classes
wp-pagenavipagesfirstpreviouspostslinkextendsmallerpagecurrent+3 more
Data Attributes
aria-label="First Page"aria-label="Previous Page"aria-label="Next Page"aria-label="Last Page"aria-current="page"
Shortcode Output
<div class="wp-pagenavi">
FAQ

Frequently Asked Questions about WP-PageNavi