WordPress < 7.0.2 - Facilitated SQL Injection via author__not_in in WP_Query
Patch now. It under exploitation confirmed by CISA and has a working public exploit.
Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). 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.
WordPress has a SQL injection vulnerability in the WP_Query function when handling the author__not_in parameter. If a plugin or theme passes untrusted user input to this parameter without proper checks, an attacker could manipulate the database queries to steal or modify data.
CWE-89 SQL Injection vulnerability in WordPress WP_Query's author__not_in parameter due to insufficient input sanitization. Attack vector requires a vulnerable plugin or theme to pass unsanitized user-controlled input to the parameter; successful exploitation allows arbitrary SQL execution with database privileges. Affects WordPress 6.8.x before 6.8.6, 6.9.x before 6.9.5, and 7.0.x before 7.0.2.