CVE-2020-10803 in Debian Linux and 6 more products
In phpMyAdmin 4.x before 4.9.5 and 5.x before 5.0.2, a SQL injection vulnerability was discovered where malicious code could be used to trigger an XSS attack through retrieving and displaying results (in tbl_get_field.php and libraries/classes/Display/Results.php). The attacker must be able to insert crafted data in...
Affects 7 products from 5 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, requires user interaction, can impact systems beyond the vulnerable component, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Debian Linux | 8.0 |
| Fedoraproject | Fedora | 30 31 32 |
| Opensuse | Backports Sle | 15.0 |
| Opensuse | Leap | 15.1 |
| Phpmyadmin | Phpmyadmin | ≥ 4.0.0, < 4.9.5 ≥ 5.0.0, < 5.0.2 |
| Suse | Package Hub | No version listed by the source |
Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Suse Linux Enterprise
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
In phpMyAdmin 4.x before 4.9.5 and 5.x before 5.0.2, a SQL injection vulnerability was discovered where malicious code could be used to trigger an XSS attack through retrieving and displaying results (in tbl_get_field.php and libraries/classes/Display/Results.php). The attacker must be able to insert crafted data into certain database tables, which when retrieved (for instance, through the Browse tab) can trigger the XSS attack.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2020-10803 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-143734-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| Published | 2020-03-22 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-79: Cross-Site Scripting (XSS)
Attacker injects malicious scripts into web pages viewed by other users, executing in the victim's browser context.
CWE-89: SQL Injection
Attacker inserts SQL commands into application queries through user-controlled input, allowing unauthorized database access.
Related attack patterns (CAPEC)
CAPEC-7 Blind SQL Injection via CWE-89
CAPEC-85 AJAX Footprinting via CWE-79
CAPEC-108 Command Line Execution through SQL Injection via CWE-89
CAPEC-109 Object Relational Mapping Injection via CWE-89
CAPEC-110 SQL Injection through SOAP Parameter Tampering via CWE-89
Show all 12
CAPEC-209 XSS Using MIME Type Mismatch via CWE-79
CAPEC-470 Expanding Control over the Operating System from the Database via CWE-89
CAPEC-588 DOM-Based XSS via CWE-79
CAPEC-591 Reflected XSS via CWE-79
CAPEC-592 Stored XSS via CWE-79
CAPEC-63 Cross-Site Scripting (XSS) via CWE-79
CAPEC-66 SQL Injection via CWE-89
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A SQL injection vulnerability in phpMyAdmin versions 4.x before 4.9.5 and 5.x before 5.0.2 can lead to an XSS attack by injecting malicious code into database tables, which is then retrieved and displayed.
The vulnerability exists in tbl_get_field.php and libraries/classes/Display/Results.php. An attacker can insert crafted data into specific database tables, which, when retrieved and displayed, can execute malicious scripts in the context of the victim's browser.
Questions
What is CVE-2020-10803?
A SQL injection vulnerability in phpMyAdmin versions 4.x before 4.9.5 and 5.x before 5.0.2 can lead to an XSS attack by injecting malicious code into database tables, which is then retrieved and displayed.
What is the CVSS score for CVE-2020-10803?
CVE-2020-10803 has CVSS 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N. EPSS: 1.4%.
Is CVE-2020-10803 actively exploited?
No confirmed active exploitation of CVE-2020-10803 as of 2026-05-30.
How do I remediate CVE-2020-10803?
Priority: HIGH. Advisory: https://www.phpmyadmin.net/security/PMASA-2020-4/ PSIRT: [email protected]
What systems are affected by CVE-2020-10803?
CVE-2020-10803 affects Debian Debian Linux; Fedoraproject Fedora; Opensuse Backports Sle, Leap; Phpmyadmin Phpmyadmin; Suse Package Hub.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.