Hexret
CVE-2026-60137medium 5.9

WordPress WP_Query scalar author exclusion SQL injection

A scalar author exclusion skips array-only integer normalization, survives a later array cast and implode, and is interpolated directly inside a SQL NOT IN list.

Product
WordPress Core WP_Query author exclusion handling
Vendor
WordPress
Affected
6.8.0 through 6.8.5; 6.9.0 through 6.9.4; 7.0.0 through 7.0.1
Fixed in
6.8.6, 6.9.5, and 7.0.2
Weakness
CWE-89
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Published
17 Jul 2026

Practice this CVE, free

Classified as

References