WordPress Vulnerabilities

WP < 7.0.2 - Facilitated SQLi

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.

Affects WordPress

Fixed in WordPress 7.0.2
Fixed in WordPress 7.0.2
Fixed in WordPress 6.9.5
Fixed in WordPress 6.9.5
Fixed in WordPress 6.9.5
Fixed in WordPress 6.9.5
Fixed in WordPress 6.9.5
Fixed in WordPress 6.8.6
Fixed in WordPress 6.8.6
Fixed in WordPress 6.8.6
Fixed in WordPress 6.8.6
Fixed in WordPress 6.8.6
Fixed in WordPress 6.8.6

References

Classification

Type
SQLI
OWASP top 10
CWE

Miscellaneous

Original Researcher
TF1T, dtro, and haongo
Verified
Yes

Timeline

Publicly Published
2026-07-17 (about 1 month ago)
Added
2026-07-20 (about 1 month ago)
Last Updated
2026-07-20 (about 1 month ago)

Other