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.
Severity (CVSS)
| Base score | 5.9 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| Provided by | CNA |
Weaknesses
- — CWE-89 SQL Injection
- CWE-89 — CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| WordPress | WordPress | 6.8.0 to <6.8.6; 6.9.0 to <6.9.5; 7.0.0 to <7.0.2 |
References
- https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-fpp7-x2x2-2mjf (vdb-entry technical-description)
- https://wordpress.org/news/2026/07/wordpress-7-0-2-release/ (release-notes vendor-advisory)
Generated from the official CVE List on 18 Jul 2026 07:00 UTC.