WordPress Core < 6.0.2 - Authenticated SQL Injection

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE Not available
CVSS High (8)
Publicly Published August 30, 2022
Last Updated January 22, 2024
Researcher FVD
Description

WordPress Core, in versions up to 6.0.2, is vulnerable to SQL Injection that can be exploited by authenticated users via the LIMIT parameter passed through the get_bookmarks function. This can be exploited on default WordPress installations by users with high-level privileges, such as an editor or administrator, and it may be possible for this to be exploited by lower-privileged users if a plugin/theme passes an unescaped user supplied LIMIT value from those level users to the get_bookmarks function.

References

1 affected software package

Software Type Core
Software Slug wordpress (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 3.6.1
  • 3.7 - 3.7.38
  • 3.8 - 3.8.38
  • 3.9 - 3.9.36
  • 4.0 - 4.0.35
  • 4.1 - 4.1.35
  • 4.2 - 4.2.32
  • 4.3 - 4.3.28
  • 4.4 - 4.4.27
  • 4.5 - 4.5.26
  • 4.6 - 4.6.23
  • 4.7 - 4.7.23
  • 4.8 - 4.8.19
  • 4.9 - 4.9.20
  • 5.0 - 5.0.16
  • 5.1 - 5.1.13
  • 5.2 - 5.2.15
  • 5.3 - 5.3.12
  • 5.4 - 5.4.10
  • 5.5 - 5.5.9
  • 5.6 - 5.6.8
  • 5.7 - 5.7.6
  • 5.8 - 5.8.4
  • 5.9 - 5.9.3
  • 6.0 - 6.0.1
Patched Version
  • 3.7.39
  • 3.8.39
  • 3.9.37
  • 4.0.36
  • 4.1.36
  • 4.2.33
  • 4.3.29
  • 4.4.28
  • 4.5.27
  • 4.6.24
  • 4.7.24
  • 4.8.20
  • 4.9.21
  • 5.0.17
  • 5.1.14
  • 5.2.16
  • 5.3.13
  • 5.4.11
  • 5.5.10
  • 5.6.9
  • 5.7.7
  • 5.8.5
  • 5.9.4
  • 6.0.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.