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

9.8
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2017-16510
CVSS 9.8 (Critical)
Publicly Published October 31, 2017
Last Updated August 14, 2023
Researcher Anthony Ferrara

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.

References

Share

1 affected software package

Software Type Core
Patched? Yes
Remediation Update to one of the following versions, or a newer patched version: 3.7.23, 3.8.23, 3.9.21, 4.0.20, 4.1.20, 4.2.17, 4.3.13, 4.4.12, 4.5.11, 4.6.8, 4.7.7, 4.8.3
Affected Versions
  • < 3.7
  • 4.6 - 4.6.7
  • 4.7 - 4.7.6
  • 4.8 - 4.8.2
Expand to see 9 more affected version ranges.
  • 3.7 - 3.7.22
  • 3.8 - 3.8.22
  • 3.9 - 3.9.20
  • 4.0 - 4.0.19
  • 4.1 - 4.1.19
  • 4.2 - 4.2.16
  • 4.3 - 4.3.12
  • 4.4 - 4.4.11
  • 4.5 - 4.5.10
Patched Versions
  • 3.7.23
  • 3.8.23
  • 3.9.21
  • 4.0.20
Expand to see 8 more patched versions.
  • 4.1.20
  • 4.2.17
  • 4.3.13
  • 4.4.12
  • 4.5.11
  • 4.6.8
  • 4.7.7
  • 4.8.3

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation