Skip to content

CVE-2017-16510 WordPress Core < 4.8.3 - SQL Injection due to Double Prepare approach

CriticalCVSS 9.8 EPSS 6.7%
Published
Updated
Exploit status
No public exploit known

Description

WordPress before 4.8.3 is affected by an issue where $wpdb->prepare() can create unexpected and unsafe queries leading to potential SQL injection (SQLi) in plugins and themes, as demonstrated by a "double prepare" approach, a different vulnerability than CVE-2017-14723.

Affected products

ProductAffected versionsFixed in
debian/wordpress(Debian:12) < 4.8.3+dfsg-1 4.8.3+dfsg-1
debian/wordpress(Debian:13) < 4.8.3+dfsg-1 4.8.3+dfsg-1
debian/wordpress(Debian:14) < 4.8.3+dfsg-1 4.8.3+dfsg-1
WordPress <= 4.8.2 No fix listed
WordPress(WordPress) < 3.7 3.7
WordPress(WordPress) >= 3.7, < 3.7.23 3.7.23
WordPress(WordPress) >= 3.8, < 3.8.23 3.8.23
WordPress(WordPress) >= 3.9, < 3.9.21 3.9.21
WordPress(WordPress) >= 4.0, < 4.0.20 4.0.20
WordPress(WordPress) >= 4.1, < 4.1.20 4.1.20
WordPress(WordPress) >= 4.2, < 4.2.17 4.2.17
WordPress(WordPress) >= 4.3, < 4.3.13 4.3.13
WordPress(WordPress) >= 4.4, < 4.4.12 4.4.12
WordPress(WordPress) >= 4.5, < 4.5.11 4.5.11
WordPress(WordPress) >= 4.6, < 4.6.8 4.6.8
WordPress(WordPress) >= 4.7, < 4.7.7 4.7.7
WordPress(WordPress) >= 4.8, < 4.8.3 4.8.3

References