Intel

AIKIDO-2026-362570

johnpbloch/wordpress-core is vulnerable to SQL Injection

SQL InjectionCVE-2026-60137 Published 4 days ago

78

High Risk

This Affects:

PHPjohnpbloch/wordpress-core
6.8.0 - 6.8.5
Fixed in 6.8.6
6.9.0 - 6.9.4
Fixed in 6.9.5
7.0.0 - 7.0.1
Fixed in 7.0.2
Are you affected? Scan for Free

TL;DR

WP_Query builds the author__not_in SQL clause without forcing non-array values through an ID list sanitizer, so unsanitized input can be interpolated into a NOT IN (...) predicate. A plugin, theme, or request path that forwards attacker-controlled data into that parameter can therefore alter the query. The fix parses author__not_in with wp_parse_id_list so only integers are included in the SQL.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and a plugin, theme, or request path passes attacker-controlled input into WP_Query's author__not_in parameter.

Background info

johnpbloch/wordpress-core is vulnerable to SQL Injection in versions 6.8.0 - 6.8.5, 6.9.0 - 6.9.4 and 7.0.0 - 7.0.1.

How to fix this

Upgrade the johnpbloch/wordpress-core library to the patch version.