# CVE-2020-22452: phpmyadmin contains SQL Injection vulnerability

Source: https://junglewise.ai/threats/cve-2020-22452-phpmyadmin-contains-sql-injection-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-01-26  
License: CC BY 4.0 with a link back

CVE-2020-22452 · Severity: low · CVSS 3.1 · Published 2023-01-26

phpmyadmin contains SQL Injection vulnerability

Technologies: [phpmyadmin/phpmyadmin (Packagist)](https://junglewise.ai/threats/technologies/phpmyadmin-phpmyadmin). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2020-22452 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2020-22452 being exploited in the wild.

**How severe is CVE-2020-22452?** Low severity, with a CVSS score of 3.1, published 26 January 2023.

**Which products and versions are affected?** phpmyadmin/phpmyadmin (Packagist) ECOSYSTEM:introduced=5.0.0,fixed=5.0.2.

**Is there a fix for CVE-2020-22452?** Yes. phpmyadmin/phpmyadmin (Packagist): upgrade to 5.0.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2020-22452?** Check whether you run phpmyadmin/phpmyadmin (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- phpmyadmin/phpmyadmin (Packagist): upgrade to 5.0.2 or later

  ```sh
  composer require phpmyadmin/phpmyadmin:^5.0.2
  ```


## Affected products

- phpmyadmin/phpmyadmin (Packagist) ECOSYSTEM:introduced=5.0.0,fixed=5.0.2

## Identifiers

- CVE-2020-22452
- GHSA-prcg-mc23-hgjh

## Related threats

- [phpMyAdmin XSS when checking tables](https://junglewise.ai/threats/cve-2025-24530-phpmyadmin-xss-when-checking-tables)
- [Cross-site Scripting vulnerability in drag-and-drop upload of phpMyAdmin](https://junglewise.ai/threats/cve-2023-25727-cross-site-scripting-vulnerability-in-drag-and-drop-upload-of)
- [phpMyAdmin Cross-Site Request Forgery (CSRF)](https://junglewise.ai/threats/cve-2019-12922-phpmyadmin-cross-site-request-forgery-csrf)
- [phpMyAdmin SQL injection vulnerability](https://junglewise.ai/threats/cve-2020-26935-phpmyadmin-sql-injection-vulnerability)
- [phpMyAdmin Cross-site Scripting (XSS)](https://junglewise.ai/threats/cve-2020-26934-phpmyadmin-cross-site-scripting-xss)
