Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-10575 Overview
CVE-2025-10575 is a SQL injection vulnerability [CWE-89] in the WP jQuery Pager plugin for WordPress. The flaw affects all versions up to and including 1.4.0. The vulnerable code path is in the WPJqueryPaged::get_gallery_page_imgs() function, which processes the ids shortcode attribute without sufficient escaping or query preparation. Authenticated attackers with Contributor-level access or higher can append arbitrary SQL to existing queries. Successful exploitation enables extraction of sensitive information from the WordPress database, including user credentials and session tokens.
Critical Impact
Contributor-level authenticated users can execute arbitrary SQL queries against the WordPress database, exposing confidential data such as password hashes and private post content.
Affected Products
- WP jQuery Pager plugin for WordPress
- All versions up to and including 1.4.0
- WordPress sites allowing Contributor-level or higher user registration
Discovery Timeline
- 2025-10-15 - CVE-2025-10575 published to the National Vulnerability Database
- 2026-10-08 - Last updated in NVD database
Technical Details for CVE-2025-10575
Vulnerability Analysis
The vulnerability resides in the WPJqueryPaged::get_gallery_page_imgs() function within the WP jQuery Pager plugin. The function accepts the ids shortcode attribute as a user-controlled parameter and incorporates it directly into a SQL query. The plugin does not apply esc_sql() sanitization or use $wpdb->prepare() with placeholder binding. Attackers can supply crafted shortcode content that breaks out of the intended query context. The result is a classic in-band SQL injection against the underlying MySQL or MariaDB backend.
Root Cause
The root cause is improper neutralization of special elements used in a SQL command [CWE-89]. The plugin trusts shortcode attributes submitted through post or page content without validating that ids contains only integer values. Because WordPress permits Contributor accounts to author posts containing shortcodes, the attack surface extends to any user above subscriber level.
Attack Vector
An authenticated attacker with Contributor privileges creates a draft post that includes the vulnerable shortcode. The attacker places malicious SQL syntax inside the ids attribute. When the shortcode is rendered or previewed, the injected SQL executes against the database. Attackers can use UNION SELECT techniques to retrieve password hashes from the wp_users table or session tokens from wp_usermeta. The attack requires only network access to the WordPress admin interface and valid Contributor credentials.
Detection Methods for CVE-2025-10575
Indicators of Compromise
- Draft or published posts containing the WP jQuery Pager shortcode with non-numeric characters in the ids attribute
- Database query logs showing UNION, SLEEP, or INFORMATION_SCHEMA references originating from shortcode rendering
- Unexpected read activity against the wp_users or wp_usermeta tables from the web application user
- New or unknown Contributor-level accounts created shortly before suspicious post edits
Detection Strategies
- Enable MySQL general query logging and alert on queries referencing wp_users from plugin render contexts
- Deploy a web application firewall rule that inspects shortcode attributes for SQL metacharacters
- Review WordPress audit logs for Contributor accounts creating posts that include the pager shortcode
- Correlate POST requests to post.php and post-new.php with subsequent anomalous database errors
Monitoring Recommendations
- Monitor the wp_posts table for shortcode patterns containing single quotes, parentheses, or SQL keywords in the ids parameter
- Track outbound data volume from the web tier to identify bulk data exfiltration
- Alert on new user registrations when the WordPress role defaults to Contributor or higher
How to Mitigate CVE-2025-10575
Immediate Actions Required
- Deactivate and remove the WP jQuery Pager plugin until a patched release is confirmed
- Audit all WordPress user accounts and remove unused Contributor-level and higher accounts
- Rotate database credentials and WordPress authentication keys if exploitation is suspected
- Review existing posts for malicious shortcodes containing SQL syntax in the ids attribute
Patch Information
As of the last NVD update on 2026-10-08, no fixed version has been published for the WP jQuery Pager plugin. Administrators should review the WordPress Plugin Code Reference and the Wordfence Vulnerability Report for the latest remediation guidance.
Workarounds
- Restrict user registration and limit Contributor-level access to trusted individuals only
- Deploy a web application firewall with virtual patching rules targeting the vulnerable shortcode
- Implement database-level least privilege so the WordPress database user cannot read sensitive tables beyond those required
- Replace WP jQuery Pager with an actively maintained pagination plugin that uses prepared statements
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

