WordPress Core contains a SQL injection vulnerability when a plugin or theme passes untrusted input to the parameter. This vulnerability can be chained with CVE-2026-63030 to allow an unauthenticated attacker to gain remote code execution on default WordPress installations.
In short
CVE-2026-60137 (WordPress Core SQL Injection) has a CVSS 3.1 base score of 5.9, rated medium. CISA added it to the Known Exploited Vulnerabilities catalog on 21 Jul 2026. Fixed in WordPress 6.8.6 or later. The Dutch NCSC covers it in advisory NCSC-2026-0250.
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.
CVSS 3.1 breakdown
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NAffected products
- WordPress≥ 6.8 < 6.8.6 · ≥ 6.9 < 6.9.5 · ≥ 7.0 < 7.0.2
Remediation
Fixed in- WordPress≥ 6.8.6
References
Related CVEs
Exploited and critical vulnerabilities in the same product or from the same vendor.
Data from the NVD, CISA KEV catalog and FIRST EPSS. The CVSS 4.0 base score is shown where the NVD has one, otherwise CVSS 3.1.
