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-3470 Overview
CVE-2025-3470 is a SQL injection vulnerability in the TS Poll – Survey, Versus Poll, Image Poll, Video Poll plugin for WordPress. The flaw affects all versions up to and including 2.4.6. It stems from insufficient escaping of the user-supplied s parameter combined with inadequate preparation of the underlying SQL query. Authenticated attackers with Administrator-level access can append additional SQL statements to existing queries. Successful exploitation allows extraction of sensitive information from the WordPress database. The vulnerability is classified under [CWE-89] (Improper Neutralization of Special Elements used in an SQL Command).
Critical Impact
Authenticated administrators can execute arbitrary SQL queries against the WordPress database, exposing stored credentials, user data, and configuration secrets.
Affected Products
- TS Poll – Survey, Versus Poll, Image Poll, Video Poll plugin for WordPress
- All plugin versions up to and including 2.4.6
- WordPress installations with the vulnerable plugin activated
Discovery Timeline
- 2025-04-15 - CVE-2025-3470 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-3470
Vulnerability Analysis
The vulnerability resides in the administrative poll listing functionality of the TS Poll plugin, specifically in class-ts_poll_list.php. The s parameter, which supports search functionality in the admin interface, is inserted directly into a SQL query without proper sanitization or parameterized preparation. Attackers with Administrator privileges can inject additional SQL clauses through this parameter. The injection permits UNION-based and stacked query techniques that read arbitrary data from the WordPress database, including the wp_users table containing password hashes and session tokens.
Root Cause
The root cause is a combination of two coding flaws. First, the developer relies on insufficient escaping of the user-supplied s parameter before concatenating it into a SQL string. Second, the query does not use $wpdb->prepare() with proper placeholders, so any injected SQL syntax is executed as part of the statement. This matches the [CWE-89] pattern where untrusted input reaches a SQL interpreter without contextual neutralization.
Attack Vector
Exploitation requires an authenticated session with Administrator-level access or higher. The attacker submits a crafted value in the s request parameter to the vulnerable admin endpoint. Because the query is not parameterized, the appended SQL executes against the backend database. See the Wordfence Vulnerability Report and the WordPress Poll Plugin Code for the affected code path.
// No verified proof-of-concept code is published for CVE-2025-3470.
// Refer to the Wordfence advisory and the plugin source for technical details.
Detection Methods for CVE-2025-3470
Indicators of Compromise
- Web server access logs containing SQL syntax characters in the s query parameter, such as UNION, SELECT, --, or encoded variants targeting the TS Poll admin pages.
- Unexpected database queries originating from wp-admin requests referencing the TS Poll plugin.
- New or modified WordPress administrator accounts, or evidence of wp_users table reads outside normal admin activity.
Detection Strategies
- Inspect access logs for administrative requests to the TS Poll plugin containing suspicious s parameter values.
- Enable MySQL general query logging or slow query logging temporarily to identify anomalous SELECT statements referencing the poll tables.
- Correlate WordPress user session activity with database query patterns to identify administrator accounts issuing unusual queries.
Monitoring Recommendations
- Deploy a web application firewall rule to flag SQL metacharacters in the s parameter for TS Poll endpoints.
- Alert on repeated 500-series responses from TS Poll admin pages, which may indicate injection probing.
- Track administrator authentication events and compare them against expected administrative activity windows.
How to Mitigate CVE-2025-3470
Immediate Actions Required
- Upgrade the TS Poll plugin to a version later than 2.4.6 once the maintainer publishes a fix.
- Audit WordPress administrator accounts and rotate credentials for any account with recent access to the plugin.
- Review database contents and WordPress option tables for signs of unauthorized data access.
Patch Information
At the time of publication, no fixed version beyond 2.4.6 is documented in the referenced advisories. Consult the Wordfence Vulnerability Report and the Broccoli Blog CVE Analysis for the latest patch status. Apply the vendor update as soon as it becomes available.
Workarounds
- Deactivate and remove the TS Poll plugin until a patched release is available.
- Restrict Administrator-level access to trusted personnel and enforce multi-factor authentication on all admin accounts.
- Deploy WAF rules that block SQL keywords and metacharacters in the s parameter for TS Poll admin URLs.
# Example: temporarily disable the vulnerable plugin via WP-CLI
wp plugin deactivate poll-wp
wp plugin delete poll-wp
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

