WordPress Core < 4.8.2 - SQL Injection via Mishandled Placeholders

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2017-14723
CVSS Critical (9.8)
Publicly Published September 19, 2017
Last Updated January 22, 2024
Researcher Slavco Mihajloski
Description

Before version 4.8.2, WordPress mishandled % characters and additional placeholder values in $wpdb->prepare, and thus did not properly address the possibility of plugins and themes enabling SQL injection attacks.

References

1 affected software package

Software Type Core
Software Slug wordpress (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 3.7
  • 3.7 - 3.7.21
  • 3.8 - 3.8.21
  • 3.9 - 3.9.19
  • 4.0 - 4.0.18
  • 4.1 - 4.1.18
  • 4.2 - 4.2.15
  • 4.3 - 4.3.11
  • 4.4 - 4.4.10
  • 4.5 - 4.5.9
  • 4.6 - 4.6.6
  • 4.7 - 4.7.5
  • 4.8 - 4.8.1
Patched Version
  • 3.7.22
  • 3.8.22
  • 3.9.20
  • 4.0.19
  • 4.1.19
  • 4.2.16
  • 4.3.12
  • 4.4.11
  • 4.5.10
  • 4.6.7
  • 4.7.6
  • 4.8.2
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.