WordPress Core SQL Injection via author__not_in Parameter
CVE-2026-60137Known exploitedMedium
WordPress does not properly sanitise the author__not_in parameter of WP_Query, allowing SQL injection when a plugin or theme passes untrusted input to it. An attacker can exploit this to execute arbitrary SQL queries on the database. The attacker needs a plugin or theme on the target WordPress installation that passes untrusted input to this parameter.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
- Added to KEV
- 21 Jul
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Detail
WordPress Core. CISA required action: Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk guidance and CISA’s “Forensics Triage Requirements”. Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
Weakness: CWE-89 (opens in a new tab)
Affected versions
- wordpress wordpress: from 6.8, before 6.8.6
- wordpress wordpress: from 6.9, before 6.9.5
- wordpress wordpress: from 7.0, before 7.0.2