SQL Injection Affecting johnpbloch/wordpress-core package, versions <3.7.37>=3.8, <5.8.3


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Mature
EPSS
88.3% (99th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-JOHNPBLOCHWORDPRESSCORE-2849058
  • published29 May 2022
  • disclosed29 May 2022
  • creditngocnb from GiaoHangTietKiem JSC, khuyenn from GiaoHangTietKiem JSC

Introduced: 29 May 2022

CVE-2022-21661  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade johnpbloch/wordpress-core to version 3.7.37, 5.8.3 or higher.

Overview

johnpbloch/wordpress-core is a web software you can use to create a website or blog.

Affected versions of this package are vulnerable to SQL Injection. Due to improper sanitization in WP_Query, there can be cases where injection is possible through plugins or themes that use it in a certain way.

CVSS Scores

version 3.1