High

WordPress Core < 6.0.2 - Authenticated SQL Injection

  • Disclosed: 30.08.2022
  • Updated: 11.10.2026 10:22

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
WordPress (core) WordPress <= 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 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

References

CVSS score 8/10
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
Weakness (CWE)
CWE-89
Platform
WordPress
Package
WordPress
Disclosed
30.08.2022
Updated
11.10.2026 10:22

Sources and licenses

Wordfence Intelligence - 0248f829-84de-40b9-bb63-354fbf06472d - Wordfence Intelligence

Copyright 2012-2026 Defiant Inc.

This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.

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.

https://www.wordfence.com/wordfence-intelligence-terms-and-conditions/
Wordfence Intelligence
Wordfence Intelligence - Defiant, Inc.
Copyright Defiant, Inc. All rights reserved except as granted below.
License grant, section 3.1 of the Wordfence Intelligence Terms and Conditions (January 26, 2026):

Subject to this Agreement, Company hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute the Service. Any copy you make for such purposes is authorized provided that you reproduce Company’s copyright designation, this license, and the license of any disclosed Company licensor in any such copy.

Full applicable Agreement: https://www.wordfence.com/wordfence-intelligence-terms-and-conditions/

Vulnerability history: WordPress

All published vulnerabilities of this package (WordPress (core)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (385) in the archive
Total entries
385
First → latest
06.2003 10.2026
Without a fix
0
Exploited in attacks
3

Severity breakdown

  • Critical 16
  • High 95
  • Medium 263
  • Low 11

Disclosures per year

  1. 2017: 39
  2. 2018: 15
  3. 2019: 22
  4. 2020: 23
  5. 2021: 5
  6. 2022: 20
  7. 2023: 14
  8. 2024: 4
  9. 2025: 2
  10. 2026: 36

earlier: 205

Severity:
  1. High · 7.2 4a3e3e6e-9c17-4ac5-9f83-1e01365436e9 >= 7.1.0, <= 7.1.2 7.1.3
  2. High · 8.1 Exploited in attacks CVE-2026-87902 >= 4.7, <= 4.7.36, >= 4.8, <= 4.8.31, >= 4.9, <= 4.9.32, >= 5.0, <= 5.0.28, >= 5.1, <= 5.1.25, >= 5.2, <= 5.2.27, >= 5.3, <= 5.3.24, >= 5.4, <= 5.4.22, >= 5.5, <= 5.5.21, >= 5.6, <= 5.6.20, >= 5.7, <= 5.7.18, >= 5.8, <= 5.8.16, >= 5.9, <= 5.9.17, >= 6.0, <= 6.0.15, >= 6.1, <= 6.1.13, >= 6.2, <= 6.2.12, >= 6.3, <= 6.3.11, >= 6.4, <= 6.4.11, >= 6.5, <= 6.5.11, >= 6.6, <= 6.6.8, >= 6.7, <= 6.7.8, >= 6.8, <= 6.8.9, >= 6.9, <= 6.9.8, >= 7.0, <= 7.0.5, >= 7.1, <= 7.1.1 4.7.37, 4.8.32, 4.9.33, 5.0.29, 5.1.26, 5.2.28, 5.3.25, 5.4.23, 5.5.22, 5.6.21, 5.7.19, 5.8.17, 5.9.18, 6.0.16, 6.1.14, 6.2.13, 6.3.12, 6.4.12, 6.5.12, 6.6.9, 6.7.9, 6.8.10, 6.9.9, 7.0.6, 7.1.2
  3. High · 7.2 CVE-2026-93485 <= 6.6.7, >= 6.7, <= 6.7.7, >= 6.8, <= 6.8.8, >= 6.9, <= 6.9.7, >= 7.0, <= 7.0.4, = 7.1 6.6.8, 6.7.8, 6.8.9, 6.9.8, 7.0.5, 7.1.1
  4. High · 8.8 CVE-2026-65640 >= 4.7.0, <= 4.7.34, >= 4.8.0, <= 4.8.29, >= 4.9.0, <= 4.9.30, >= 5.0.0, <= 5.0.26, >= 5.1.0, <= 5.1.23, >= 5.2.0, <= 5.2.25, >= 5.3.0, <= 5.3.22, >= 5.4.0, <= 5.4.20, >= 5.5.0, <= 5.5.19, >= 5.6.0, <= 5.6.18, >= 5.7.0, <= 5.7.16, >= 5.8.0, <= 5.8.14, >= 5.9.0, <= 5.9.15, >= 6.0.0, <= 6.0.13, >= 6.1.0, <= 6.1.11, >= 6.2.0, <= 6.2.10, >= 6.3.0, <= 6.3.9, >= 6.4.0, <= 6.4.9, >= 6.5.0, <= 6.5.9, >= 6.6.0, <= 6.6.6, >= 6.7.0, <= 6.7.6, >= 6.8.0, <= 6.8.7, >= 6.9.0, <= 6.9.6, >= 7.0.0, <= 7.0.3 4.7.35, 4.8.30, 4.9.31, 5.0.27, 5.1.24, 5.2.26, 5.3.23, 5.4.21, 5.5.20, 5.6.19, 5.7.17, 5.8.15, 5.9.16, 6.0.14, 6.1.12, 6.2.11, 6.3.10, 6.4.10, 6.5.10, 6.6.7, 6.7.7, 6.8.8, 6.9.7, 7.0.4
  5. High · 7.5 Exploited in attacks CVE-2026-60137 >= 6.8, < 6.8.5, >= 6.9, < 6.9.5, >= 7.0, < 7.0.2 6.8.6, 6.9.5, 7.0.2
  6. Critical · 9.8 Exploited in attacks CVE-2026-63030 >= 6.9, < 6.9.5, >= 7.0, < 7.0.2 6.9.5, 7.0.2
  7. High · 7.2 CVE-2024-4439 >= 6.0, <= 6.0.7, >= 6.1, <= 6.1.5, >= 6.2, <= 6.2.4, >= 6.3, <= 6.3.3, >= 6.4, <= 6.4.3, >= 6.5, <= 6.5.1 6.0.8, 6.1.6, 6.2.5, 6.3.4, 6.4.4, 6.5.2
  8. Critical · 9.8 CVE-2024-31211 = 6.4.0, = 6.4.1 6.4.2
  9. Critical · 9.8 ff4b47d8-28c1-4706-91d9-0285f419147e <= 3.6.1, >= 3.7, <= 3.7.39, >= 3.8, <= 3.8.39, >= 3.9, <= 3.9.37, >= 4.0, <= 4.0.36, >= 4.1, <= 4.1.36, >= 4.2, <= 4.2.33, >= 4.3, <= 4.3.29, >= 4.4, <= 4.4.28, >= 4.5, <= 4.5.27, >= 4.6, <= 4.6.24, >= 4.7, <= 4.7.24, >= 4.8, <= 4.8.20, >= 4.9, <= 4.9.21, >= 5.0, <= 5.0.17, >= 5.1, <= 5.1.14, >= 5.2, <= 5.2.16, >= 5.3, <= 5.3.13, >= 5.4, <= 5.4.11, >= 5.5, <= 5.5.10, >= 5.6, <= 5.6.9, >= 5.7, <= 5.7.7, >= 5.8, <= 5.8.5, >= 5.9, <= 5.9.4, >= 6.0, <= 6.0.2 3.7.40, 3.8.40, 3.9.38, 4.0.37, 4.1.37, 4.2.34, 4.3.30, 4.4.29, 4.5.28, 4.6.25, 4.7.25, 4.8.21, 4.9.22, 5.0.18, 5.1.15, 5.2.17, 5.3.14, 5.4.12, 5.5.11, 5.6.10, 5.7.8, 5.8.6, 5.9.5, 6.0.3
  10. High · 8.8 ddd06190-d0c1-445d-8c6f-4c7df3248db4 <= 3.6.1, >= 3.7, <= 3.7.39, >= 3.8, <= 3.8.39, >= 3.9, <= 3.9.37, >= 4.0, <= 4.0.36, >= 4.1, <= 4.1.36, >= 4.2, <= 4.2.33, >= 4.3, <= 4.3.29, >= 4.4, <= 4.4.28, >= 4.5, <= 4.5.27, >= 4.6, <= 4.6.24, >= 4.7, <= 4.7.24, >= 4.8, <= 4.8.20, >= 4.9, <= 4.9.21, >= 5.0, <= 5.0.17, >= 5.1, <= 5.1.14, >= 5.2, <= 5.2.16, >= 5.3, <= 5.3.13, >= 5.4, <= 5.4.11, >= 5.5, <= 5.5.10, >= 5.6, <= 5.6.9, >= 5.7, <= 5.7.7, >= 5.8, <= 5.8.5, >= 5.9, <= 5.9.4, >= 6.0, <= 6.0.2 3.7.40, 3.8.40, 3.9.38, 4.0.37, 4.1.37, 4.2.34, 4.3.30, 4.4.29, 4.5.28, 4.6.25, 4.7.25, 4.8.21, 4.9.22, 5.0.18, 5.1.15, 5.2.17, 5.3.14, 5.4.12, 5.5.11, 5.6.10, 5.7.8, 5.8.6, 5.9.5, 6.0.3
  11. High · 8.8 CVE-2022-43497 <= 3.6.1, >= 3.7, <= 3.7.39, >= 3.8, <= 3.8.39, >= 3.9, <= 3.9.37, >= 4.0, <= 4.0.36, >= 4.1, <= 4.1.36, >= 4.2, <= 4.2.33, >= 4.3, <= 4.3.29, >= 4.4, <= 4.4.28, >= 4.5, <= 4.5.27, >= 4.6, <= 4.6.24, >= 4.7, <= 4.7.24, >= 4.8, <= 4.8.20, >= 4.9, <= 4.9.21, >= 5.0, <= 5.0.17, >= 5.1, <= 5.1.14, >= 5.2, <= 5.2.16, >= 5.3, <= 5.3.13, >= 5.4, <= 5.4.11, >= 5.5, <= 5.5.10, >= 5.6, <= 5.6.9, >= 5.7, <= 5.7.7, >= 5.8, <= 5.8.5, >= 5.9, <= 5.9.4, >= 6.0, <= 6.0.2 3.7.40, 3.8.40, 3.9.38, 4.0.37, 4.1.37, 4.2.34, 4.3.30, 4.4.29, 4.5.28, 4.6.25, 4.7.25, 4.8.21, 4.9.22, 5.0.18, 5.1.15, 5.2.17, 5.3.14, 5.4.12, 5.5.11, 5.6.10, 5.7.8, 5.8.6, 5.9.5, 6.0.3
  12. WordPress Core < 6.0.2 - Authenticated SQL Injection this entry
    High · 8.0 0248f829-84de-40b9-bb63-354fbf06472d <= 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 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
  13. High · 8.8 CVE-2021-20083 < 3.7, >= 3.7, <= 3.7.37, >= 3.8, <= 3.8.37, >= 3.9, <= 3.9.35, >= 4.0, <= 4.0.34, >= 4.1, <= 4.1.34, >= 4.2, <= 4.2.31, >= 4.3, <= 4.3.27, >= 4.4, <= 4.4.26, >= 4.5, <= 4.5.25, >= 4.6, <= 4.6.22, >= 4.7, <= 4.7.22, >= 4.8, <= 4.8.18, >= 4.9, <= 4.9.19, >= 5.0, <= 5.0.15, >= 5.1, <= 5.1.12, >= 5.2, <= 5.2.14, >= 5.3, <= 5.3.11, >= 5.4, <= 5.4.9, >= 5.5, <= 5.5.8, >= 5.6, <= 5.6.7, >= 5.7, <= 5.7.5, >= 5.8, <= 5.8.3, >= 5.9, <= 5.9.1 3.7.38, 3.8.38, 3.9.36, 4.0.35, 4.1.35, 4.2.32, 4.3.28, 4.4.27, 4.5.26, 4.6.23, 4.7.23, 4.8.19, 4.9.20, 5.0.16, 5.1.13, 5.2.15, 5.3.12, 5.4.10, 5.5.9, 5.6.8, 5.7.6, 5.8.4, 5.9.2
  14. High · 8.0 CVE-2022-21662 >= 3.7, < 3.7.37, >= 3.8, < 3.8.37, >= 3.9, < 3.9.35, >= 4.0, < 4.0.34, >= 4.1, < 4.1.34, >= 4.2, < 4.2.31, >= 4.3, < 4.3.27, >= 4.4, < 4.4.26, >= 4.5, < 4.5.25, >= 4.6, < 4.6.22, >= 4.7, < 4.7.22, >= 4.8, < 4.8.18, >= 4.9, < 4.9.19, >= 5.0, < 5.0.15, >= 5.1, < 5.1.12, >= 5.2, < 5.2.14, >= 5.3, < 5.3.11, >= 5.4, < 5.4.9, >= 5.5, < 5.5.8, >= 5.6, < 5.6.7, >= 5.7, < 5.7.5, >= 5.8, < 5.8.3 3.7.37, 3.8.37, 3.9.35, 4.0.34, 4.1.34, 4.2.31, 4.3.27, 4.4.26, 4.5.25, 4.6.22, 4.7.22, 4.8.18, 4.9.19, 5.0.15, 5.1.12, 5.2.14, 5.3.11, 5.4.9, 5.5.8, 5.6.7, 5.7.5, 5.8.3
  15. High · 7.4 CVE-2022-21664 >= 4.1, < 4.1.34, >= 4.2, < 4.2.31, >= 4.3, < 4.3.27, >= 4.4, < 4.4.26, >= 4.5, < 4.5.25, >= 4.6, < 4.6.22, >= 4.7, < 4.7.22, >= 4.8, < 4.8.18, >= 4.9, < 4.9.19, >= 5.0, < 5.0.15, >= 5.1, < 5.1.12, >= 5.2, < 5.2.14, >= 5.3, < 5.3.11, >= 5.4, < 5.4.9, >= 5.5, < 5.5.8, >= 5.6, < 5.6.7, >= 5.7, < 5.7.5, >= 5.8, < 5.8.3 4.1.34, 4.2.31, 4.3.27, 4.4.26, 4.5.25, 4.6.22, 4.7.22, 4.8.18, 4.9.19, 5.0.15, 5.1.12, 5.2.14, 5.3.11, 5.4.9, 5.5.8, 5.6.7, 5.7.5, 5.8.3
  16. High · 7.6 CVE-2021-39201 >= 5.4, < 5.4.7, >= 5.5, < 5.5.6, >= 5.6, < 5.6.5, >= 5.7, < 5.7.3, >= 5.8, < 5.8.1 5.4.7, 5.5.6, 5.6.5, 5.7.3, 5.8.1
  17. High · 7.1 CVE-2021-29447 >= 4.7, < 4.7.20, >= 4.8, < 4.8.16, >= 4.9, < 4.9.17, >= 5.0, < 5.0.12, >= 5.1, < 5.1.9, >= 5.2, < 5.2.10, >= 5.3, < 5.3.7, >= 5.4, < 5.4.5, >= 5.5, < 5.5.4, >= 5.6, < 5.6.3, >= 5.7, < 5.7.1 4.7.20, 4.8.16, 4.9.17, 5.0.12, 5.1.9, 5.2.10, 5.3.7, 5.4.5, 5.5.4, 5.6.3, 5.7.1
  18. High · 8.0 CVE-2022-21661 >= 3.7, < 3.7.37, >= 3.8, < 3.8.37, >= 3.9, < 3.9.35, >= 4.0, < 4.0.34, >= 4.1, < 4.1.34, >= 4.2, < 4.2.31, >= 4.3, < 4.3.27, >= 4.4, < 4.4.26, >= 4.5, < 4.5.25, >= 4.6, < 4.6.22, >= 4.7, < 4.7.22, >= 4.8, < 4.8.18, >= 4.9, < 4.9.19, >= 5.0, < 5.0.15, >= 5.1, < 5.1.12, >= 5.2, < 5.2.14, >= 5.3, < 5.3.11, >= 5.4, < 5.4.9, >= 5.5, < 5.5.8, >= 5.6, < 5.6.7, >= 5.7, < 5.7.5, >= 5.8, < 5.8.3 3.7.37, 3.8.37, 3.9.35, 4.0.34, 4.1.34, 4.2.31, 4.3.27, 4.4.26, 4.5.25, 4.6.22, 4.7.22, 4.8.18, 4.9.19, 5.0.15, 5.1.12, 5.2.14, 5.3.11, 5.4.9, 5.5.8, 5.6.7, 5.7.5, 5.8.3
  19. High · 8.8 CVE-2020-28035 < 3.7, >= 3.7, <= 3.7.34, >= 3.8, <= 3.8.34, >= 3.9, <= 3.9.32, >= 4.0, <= 4.0.31, >= 4.1, <= 4.1.31, >= 4.2, <= 4.2.28, >= 4.3, <= 4.3.24, >= 4.4, <= 4.4.23, >= 4.5, <= 4.5.22, >= 4.6, <= 4.6.19, >= 4.7, <= 4.7.18, >= 4.8, <= 4.8.14, >= 4.9, <= 4.9.15, >= 5.0, <= 5.0.10, >= 5.1, <= 5.1.6, >= 5.2, <= 5.2.7, >= 5.3, <= 5.3.4, >= 5.4, <= 5.4.2, >= 5.5, <= 5.5.1 3.7.35, 3.8.35, 3.9.33, 4.0.32, 4.1.32, 4.2.29, 4.3.25, 4.4.24, 4.5.23, 4.6.20, 4.7.19, 4.8.15, 4.9.16, 5.0.11, 5.1.7, 5.2.8, 5.3.5, 5.4.3, 5.5.2
  20. High · 8.8 CVE-2020-28032 < 3.7, >= 3.7, <= 3.7.34, >= 3.8, <= 3.8.34, >= 3.9, <= 3.9.32, >= 4.0, <= 4.0.31, >= 4.1, <= 4.1.31, >= 4.2, <= 4.2.28, >= 4.3, <= 4.3.24, >= 4.4, <= 4.4.23, >= 4.5, <= 4.5.22, >= 4.6, <= 4.6.19, >= 4.7, <= 4.7.18, >= 4.8, <= 4.8.14, >= 4.9, <= 4.9.15, >= 5.0, <= 5.0.10, >= 5.1, <= 5.1.6, >= 5.2, <= 5.2.7, >= 5.3, <= 5.3.4, >= 5.4, <= 5.4.2, >= 5.5, <= 5.5.1 3.7.35, 3.8.35, 3.9.33, 4.0.32, 4.1.32, 4.2.29, 4.3.25, 4.4.24, 4.5.23, 4.6.20, 4.7.19, 4.8.15, 4.9.16, 5.0.11, 5.1.7, 5.2.8, 5.3.5, 5.4.3, 5.5.2
Show more (20) Showing 20 of 111

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.