CVE-2021-22331: huawei p30_firmware
Vulnerability summary
CVE-2021-22331 is a high (CVSS 7.5) vulnerability in huawei p30_firmware. EPSS estimates a 0.73% chance of exploitation in the next 30 days, higher than 55.5% of scored vulnerabilities.
Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Timeline
- 28-04-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
There is a JavaScript injection vulnerability in certain Huawei smartphones. A module does not verify some inputs sufficiently. Attackers can exploit this vulnerability by sending a malicious application request to launch JavaScript injection. This may compromise normal service. Affected product versions include HUAWEI P30 versions earlier than 10.1.0.165(C01E165R2P11), 11.0.0.118(C635E2R1P3), 11.0.0.120(C00E120R2P5), 11.0.0.138(C10E4R5P3), 11.0.0.138(C185E4R7P3), 11.0.0.138(C432E8R2P3), 11.0.0.138(C461E4R3P3), 11.0.0.138(C605E4R1P3), and 11.0.0.138(C636E4R3P3).
CVSS metrics
2 scores · 1 source · 2 versionsEPSS trend
Probability
0.73%
Chance of exploitation in the next 30 days
Percentile
56%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.72% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Huawei1 product
- p30_firmware< 10.1.0.165\(c01e165r2p11\) | < 11.0.0.118\(c635e2r1p3\) | < 11.0.0.120\(c00e120r2p5\) | < 11.0.0.138\(c10e4r5p3\) | < 11.0.0.138\(c185e4r7p3\) | < 11.0.0.138\(c432e8r2p3\) | < 11.0.0.138\(c461e4r3p3\) | < 11.0.0.138\(c605e4r1p3\) | < 11.0.0.138\(c636e4r3p3\)
1 vendor · 1 product
References
1 links- www.huawei.com/en/psirt/security-advisories/huawei-sa-20210331-01-js-enX Refsource MISCVendor Advisory