Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L
CSRF needs no attacker auth but requires a logged-in victim to click (PR:N, UI:R); resulting SQLi crosses into the database (S:C) yielding high confidentiality/integrity and limited availability impact.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionCVE.org
Cross-Site Request Forgery (CSRF) vulnerability in sh1zen WP Optimizer allows SQL Injection. This issue affects WP Optimizer: from n/a through 2.3.6.
AnalysisAI
SQL injection via Cross-Site Request Forgery in the sh1zen WP Optimizer WordPress plugin (all versions through 2.3.6) lets a remote attacker who lures a logged-in privileged user into visiting a malicious page forge a state-changing request that reaches an unsanitized SQL query. Rated CVSS 9.6 with a scope change, it can compromise the WordPress database, but exploitation hinges on user interaction and there is no public exploit and a negligible EPSS of 0.03%.
Technical ContextAI
The affected component is WP Optimizer, a WordPress performance/database-optimization plugin by sh1zen, running inside PHP on a WordPress site. The root cause is CWE-352 (Cross-Site Request Forgery): a sensitive plugin action lacks a valid anti-CSRF nonce check, so a forged request from an authenticated victim's browser is accepted as legitimate. Because the vulnerable handler passes attacker-influenced input into a SQL statement without proper parameterization or sanitization, the CSRF becomes a vector for SQL injection against the WordPress MySQL/MariaDB backend, chaining a request-forgery flaw into database-level data access and manipulation.
RemediationAI
No fixed version is stated in the available data, so upgrade to any release later than 2.3.6 once sh1zen publishes one and monitor the Patchstack advisory (https://patchstack.com/database/wordpress/plugin/wp-optimizer/vulnerability/wordpress-wp-optimizer-plugin-2-3-6-cross-site-request-forgery-csrf-vulnerability) for the patched version; treat this as "no vendor-released patch identified at time of analysis." As compensating controls, deploy a WAF or virtual patch (Patchstack offers one) to enforce nonce/referer validation on the plugin's endpoints, restrict wp-admin access to trusted IPs to shrink the pool of authenticated victims, and consider deactivating WP Optimizer until a fix ships - the trade-off being loss of its optimization functionality. Administrators should also avoid browsing untrusted sites while logged into WordPress, since that browser session is what a CSRF attack abuses.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u
Same weakness CWE-352 – Cross-Site Request Forgery (CSRF)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2025-28511