WordPress < 7.0.2 - Facilitated SQL Injection via author__not_in in WP_Query
WordPress
Actively exploited in the wild
Added to CISA's Known Exploited Vulnerabilities catalog on Jul 21, 2026. US federal agencies must patch by Aug 4, 2026.
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| WordPress WordPress |
| No fix yet |
Original description
WordPress 6.8.x before 6.8.6, 6.9.x before 6.9.5, and 7.0.x before 7.0.2 does not properly sanitise the author__not_in parameter of WP_Query, which could allow SQL Injection when a plugin or theme passes untrusted input to the parameter.
From the CVE record · WPScan