CVE-2018-20523 in Mi Redmi 6 and 36 more products
Xiaomi Stock Browser 10.2.4.g on Xiaomi Redmi Note 5 Pro devices and other Redmi Android phones allows content provider injection. In other words, a third-party application can read the user's cleartext browser history via an app.provider.query content://com.android.browser.searchhistory/searchhistory request.
Affects 37 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Mi | Redmi 6 (device and firmware) | No version listed by the source |
| Mi | Stock Browser | 10.2.4g |
| Mi | Redmi 7 (device and firmware) | No version listed by the source |
| Mi | Redmi Note 7 (device and firmware) | No version listed by the source |
| Mi | Redmi Note 6 Pro (device and firmware) | No version listed by the source |
| Mi | Redmi 6A (device and firmware) | No version listed by the source |
| Mi | Redmi S2 (device and firmware) | No version listed by the source |
| Mi | Redmi Note 5 Pro (device and firmware) | No version listed by the source |
| Mi | Redmi K20 Pro (device and firmware) | No version listed by the source |
| Mi | Redmi K20 (device and firmware) | No version listed by the source |
| Mi | Redmi 7A (device and firmware) | No version listed by the source |
| Mi | Redmi Go (device and firmware) | No version listed by the source |
| Mi | Redmi Note 5 (device and firmware) | No version listed by the source |
| Mi | Redmi Y3 (device and firmware) | No version listed by the source |
| Mi | Redmi Note 7S (device and firmware) | No version listed by the source |
| Mi | Redmi 4A (device and firmware) | No version listed by the source |
| Mi | Redmi Note 4 (device and firmware) | No version listed by the source |
| Mi | Redmi 5 Plus (device and firmware) | No version listed by the source |
| Mi | Redmi Note 5A Prime (device and firmware) | No version listed by the source |
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 | Reported · reference |
Official description
Xiaomi Stock Browser 10.2.4.g on Xiaomi Redmi Note 5 Pro devices and other Redmi Android phones allows content provider injection. In other words, a third-party application can read the user's cleartext browser history via an app.provider.query content://com.android.browser.searchhistory/searchhistory request.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2018-20523 |
|---|---|
| BreachSpider ID | BS-2019-GLOBAL-155374-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| Published | 2019-06-07 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-77: Command Injection
Attacker injects operating system commands through application inputs passed to a shell or system call.
Related attack patterns (CAPEC)
CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-77
CAPEC-76 Manipulating Web Input to File System Calls via CWE-77
CAPEC-15 Command Delimiters via CWE-77
CAPEC-40 Manipulating Writeable Terminal Devices via CWE-77
CAPEC-75 Manipulating Writeable Configuration Files via CWE-77
Show all 8
CAPEC-136 LDAP Injection via CWE-77
CAPEC-183 IMAP/SMTP Command Injection via CWE-77
CAPEC-248 Command Injection via CWE-77
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2019. A medium severity vulnerability affects Mi systems (CVE-2018-20523). Public exploit code is available. Isolate affected systems if patching is not feasible.
Vulnerability details: Xiaomi Stock Browser 10.2.4.g on Xiaomi Redmi Note 5 Pro devices and other Redmi Android phones allows content provider injection. In other words, a third-party application can read the user's cleartext browser history via an app.provider.query content://com.android.browser.searchhistory/searchhistory request. CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
Questions
What is CVE-2018-20523?
This vulnerability was disclosed in 2019. A medium severity vulnerability affects Mi systems (CVE-2018-20523). Public exploit code is available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2018-20523?
CVE-2018-20523 has CVSS 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N. EPSS: 10.0%.
Is CVE-2018-20523 actively exploited?
Public exploit available for CVE-2018-20523. Exploitation risk elevated.
How do I remediate CVE-2018-20523?
Priority: MONITOR. Advisory: https://sec.xiaomi.com PSIRT: [email protected]
What systems are affected by CVE-2018-20523?
CVE-2018-20523 affects Mi Redmi 6, Stock Browser, Redmi 7, Redmi Note 7, Redmi Note 6 Pro, Redmi 6A, Redmi S2, Redmi Note 5 Pro, Redmi K20 Pro, Redmi K20 (plus 9 more products).
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":"Mi","product":"Redmi 6","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 2026-06-17.